Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.05404/0.05404, allocations: 11.14 MB / 31 MB, free: 4.297 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000868/0.000868, allocations: 94.31 kB / 38.74 MB, free: 6.703 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009625/0.0009625, allocations: 166.3 kB / 42.15 MB, free: 3.383 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.922/0.922, allocations: 177.2 MB / 222.6 MB, free: 6.281 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1897/0.1897, allocations: 17.62 MB / 296.7 MB, free: 1.266 MB / 266.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 320.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.372e-05, allocations: 5.266 kB / 320.9 MB, free: 14.21 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Windkessel_4element): time 0.0675/0.06753, allocations: 72.79 MB / 393.7 MB, free: 5.461 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004472/0.072, allocations: 4.513 MB / 398.2 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005987/0.0726, allocations: 19.88 kB / 398.2 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.07312, allocations: 202.4 kB / 398.4 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.07764, allocations: 2.576 MB / 401 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.08138, allocations: 2.182 MB / 403.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.08244, allocations: 1.356 MB / 404.5 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004186/0.08286, allocations: 386.1 kB / 404.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.08454, allocations: 1.338 MB / 406.2 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.085, allocations: 470.6 kB / 406.7 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.08506, allocations: 60 kB / 406.7 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.08714, allocations: 1.617 MB / 408.4 MB, free: 6.695 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.08727, allocations: 179.4 kB / 408.5 MB, free: 6.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.08746, allocations: 247.5 kB / 408.8 MB, free: 6.277 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.08966, allocations: 2.265 MB / 411 MB, free: 4.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.08966, allocations: 0 / 411 MB, free: 4.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.08966, allocations: 0 / 411 MB, free: 4.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.08967, allocations: 0 / 411 MB, free: 4.004 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00112/0.09079, allocations: 1.016 MB / 412.1 MB, free: 2.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.09082, allocations: 12.03 kB / 412.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/0.09091, allocations: 71.88 kB / 412.1 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.09127, allocations: 331.6 kB / 412.5 MB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.0913, allocations: 29 kB / 412.5 MB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.09136, allocations: 44 kB / 412.5 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.09175, allocations: 433.7 kB / 413 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.09176, allocations: 0 / 413 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.09179, allocations: 16 kB / 413 MB, free: 1.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.0918, allocations: 12 kB / 413 MB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.09206, allocations: 209.6 kB / 413.2 MB, free: 1.766 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.09345, allocations: 1.272 MB / 414.5 MB, free: 460 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.09372, allocations: 277.8 kB / 414.7 MB, free: 168 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.09387, allocations: 116.7 kB / 414.8 MB, free: 48 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006625/0.09453, allocations: 0.5984 MB / 415.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.0947, allocations: 193.7 kB / 415.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001046/0.09481, allocations: 43.83 kB / 415.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.09481, allocations: 0 / 415.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.0005191/0.09533, allocations: 316.6 kB / 416 MB, free: 14.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.09536, allocations: 55.73 kB / 416 MB, free: 14.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.09555, allocations: 332.9 kB / 416.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.09558, allocations: 37.7 kB / 416.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.09566, allocations: 221 kB / 416.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.09574, allocations: 150.7 kB / 416.8 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.09583, allocations: 94.06 kB / 416.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.09592, allocations: 366.7 kB / 417.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.09604, allocations: 71.8 kB / 417.3 MB, free: 13.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.0962, allocations: 178.8 kB / 417.5 MB, free: 13.3 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/0.09678, allocations: 481.6 kB / 417.9 MB, free: 12.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.09678, allocations: 0 / 417.9 MB, free: 12.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003865/0.09717, allocations: 328.2 kB / 418.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.09718, allocations: 6.5 kB / 418.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.09719, allocations: 4 kB / 418.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.09732, allocations: 57.66 kB / 418.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.09753, allocations: 91.83 kB / 418.4 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000368/0.0979, allocations: 1.062 MB / 419.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.09804, allocations: 19.98 kB / 419.5 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.09806, allocations: 15.98 kB / 419.5 MB, free: 11.16 MB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.pulses.TD2,$PRE.pulses.HP,$PRE.pulses.T0,pulses.TD2,pulses.HP,pulses.b,pulses.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.09817, allocations: 136.5 kB / 419.6 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.09822, allocations: 40.05 kB / 419.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.0986, allocations: 345.8 kB / 420 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.0986, allocations: 7.984 kB / 420 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.0986, allocations: 4 kB / 420 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.09861, allocations: 0 / 420 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005974/0.0992, allocations: 0.6144 MB / 420.6 MB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.09921, allocations: 0 / 420.6 MB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.09937, allocations: 67.89 kB / 420.7 MB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.778e-05/0.09946, allocations: 49.67 kB / 420.8 MB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.09948, allocations: 15.92 kB / 420.8 MB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003371/0.09982, allocations: 1.062 MB / 421.8 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.09982, allocations: 3.938 kB / 421.8 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.1002, allocations: 468.2 kB / 422.3 MB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.1003, allocations: 51.69 kB / 422.3 MB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.1003, allocations: 11.94 kB / 422.4 MB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1005, allocations: 20.08 kB / 422.4 MB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.1005, allocations: 36.08 kB / 422.4 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.1005, allocations: 19.97 kB / 422.4 MB, free: 8.074 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.477e-05/0.1006, allocations: 131.5 kB / 422.6 MB, free: 7.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1006, allocations: 0 / 422.6 MB, free: 7.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007228/0.1014, allocations: 0.5955 MB / 423.2 MB, free: 7.352 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (arteries.enthalpy,arteries.substanceMasses[1],inertia.q_in.m_flow) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009389/0.1023, allocations: 0.941 MB / 424.1 MB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.1027, allocations: 258.5 kB / 424.3 MB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1027, allocations: 8.562 kB / 424.4 MB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.1028, allocations: 146 kB / 424.5 MB, free: 5.996 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.1033, allocations: 205 kB / 424.7 MB, free: 5.793 MB / 394.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.1051, allocations: 1 MB / 425.7 MB, free: 4.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.812e-05/0.1051, allocations: 117.8 kB / 425.8 MB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000175/0.1053, allocations: 96.03 kB / 425.9 MB, free: 4.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.1056, allocations: 197.2 kB / 426.1 MB, free: 4.332 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1056, allocations: 0 / 426.1 MB, free: 4.332 MB / 394.7 MB Notification: Performance of Templates: time 0.1333/0.2389, allocations: 22.67 MB / 448.8 MB, free: 80.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.363133146893233]