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.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08018/0.08018, allocations: 15.29 MB / 31.6 MB, free: 4.105 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 103.5 kB / 36.59 MB, free: 3.188 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 193.1 kB / 41.7 MB, free: 7.129 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 269.6 MB, free: 6.863 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1307/0.1307, allocations: 23.35 MB / 347.3 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 108.3 kB / 479.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2729, allocations: 59.36 MB / 0.5263 GB, free: 8.098 MB / 382.1 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.08136/0.3543, allocations: 80.54 MB / 0.6049 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02225/0.3766, allocations: 22.18 MB / 0.6266 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007354/0.3773, allocations: 15.94 kB / 0.6266 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008922/0.3783, allocations: 262.1 kB / 0.6268 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006338/0.3846, allocations: 2.488 MB / 0.6293 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00496/0.3896, allocations: 2.07 MB / 0.6313 GB, free: 8.703 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.3913, allocations: 1.375 MB / 0.6326 GB, free: 7.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007017/0.392, allocations: 452.7 kB / 0.6331 GB, free: 6.875 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.3943, allocations: 1.147 MB / 0.6342 GB, free: 5.723 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009503/0.3953, allocations: 0.5293 MB / 0.6347 GB, free: 5.191 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.3954, allocations: 52 kB / 0.6348 GB, free: 5.141 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003865/0.3993, allocations: 1.856 MB / 0.6366 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.3995, allocations: 155.5 kB / 0.6367 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.3999, allocations: 334.6 kB / 0.637 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00397/0.4039, allocations: 2.399 MB / 0.6394 GB, free: 404 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4039, allocations: 0 / 0.6394 GB, free: 404 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4039, allocations: 0 / 0.6394 GB, free: 404 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.4039, allocations: 0 / 0.6394 GB, free: 404 kB / 478.1 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.002058/0.406, allocations: 1.115 MB / 0.6405 GB, free: 15.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.406, allocations: 8.031 kB / 0.6405 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.4062, allocations: 55.34 kB / 0.6405 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.4068, allocations: 442.1 kB / 0.6409 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.4068, allocations: 29 kB / 0.641 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.4069, allocations: 47.98 kB / 0.641 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009334/0.4078, allocations: 0.5279 MB / 0.6415 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4079, allocations: 0 / 0.6415 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.4079, allocations: 23.92 kB / 0.6416 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.4079, allocations: 12 kB / 0.6416 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009544/0.4089, allocations: 499.7 kB / 0.642 GB, free: 13.55 MB / 494.1 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.003076/0.412, allocations: 2.459 MB / 0.6444 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/0.4128, allocations: 423.1 kB / 0.6448 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005448/0.4134, allocations: 256.7 kB / 0.6451 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/0.415, allocations: 1.118 MB / 0.6462 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004798/0.4154, allocations: 257.1 kB / 0.6464 GB, free: 8.676 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001729/0.4156, allocations: 39.59 kB / 0.6465 GB, free: 8.637 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 2.524e-06/0.4156, allocations: 0 / 0.6465 GB, free: 8.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.001747/0.4174, allocations: 0.8195 MB / 0.6473 GB, free: 7.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.4174, allocations: 59.73 kB / 0.6473 GB, free: 7.699 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.4179, allocations: 397.6 kB / 0.6477 GB, free: 7.305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.418, allocations: 33.7 kB / 0.6477 GB, free: 7.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.4181, allocations: 248.1 kB / 0.648 GB, free: 7.016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.4183, allocations: 134.1 kB / 0.6481 GB, free: 6.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.4184, allocations: 102.1 kB / 0.6482 GB, free: 6.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4186, allocations: 354.8 kB / 0.6485 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.419, allocations: 173 kB / 0.6487 GB, free: 6.254 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.4194, allocations: 275.4 kB / 0.649 GB, free: 5.949 MB / 494.1 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.00421/0.4237, allocations: 1.319 MB / 0.6503 GB, free: 4.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4237, allocations: 0 / 0.6503 GB, free: 4.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001244/0.4249, allocations: 0.5984 MB / 0.6508 GB, free: 3.969 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4249, allocations: 4 kB / 0.6508 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.425, allocations: 4 kB / 0.6508 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.4252, allocations: 85.91 kB / 0.6509 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.4257, allocations: 99.81 kB / 0.651 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007527/0.4264, allocations: 1.116 MB / 0.6521 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.4268, allocations: 28.05 kB / 0.6521 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.4269, allocations: 23.98 kB / 0.6522 GB, free: 2.555 MB / 494.1 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.0002331/0.4271, allocations: 173.7 kB / 0.6523 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/0.4272, allocations: 43.52 kB / 0.6524 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.4285, allocations: 0.5953 MB / 0.653 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4285, allocations: 0 / 0.653 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.4285, allocations: 3.984 kB / 0.653 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.4287, allocations: 156.5 kB / 0.6531 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.4288, allocations: 12 kB / 0.6531 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.4291, allocations: 19.98 kB / 0.6531 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4292, allocations: 31.94 kB / 0.6532 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001455/0.4306, allocations: 0.592 MB / 0.6537 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001321/0.432, allocations: 0.8358 MB / 0.6546 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003735/0.4324, allocations: 192 kB / 0.6547 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003175/0.4327, allocations: 283.2 kB / 0.655 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of Backend: time 4.81e-07/0.4327, allocations: 0 / 0.655 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002943/0.4357, allocations: 1.203 MB / 0.6562 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002169/0.4378, allocations: 1.579 MB / 0.6577 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.02902/0.4669, allocations: 19.8 MB / 0.6771 GB, free: 8.977 MB / 0.5137 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.makefile (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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1)