Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08948/0.08948, allocations: 15.52 MB / 31.87 MB, free: 3.883 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 107.1 kB / 39.11 MB, free: 1.156 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 208.9 kB / 46.48 MB, free: 2.508 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 279.3 MB, free: 15.61 MB / 222.1 MB " [Timeout remaining time 178] 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.1462/0.1462, allocations: 23.72 MB / 362.3 MB, free: 0.8672 MB / 270.1 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.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: "" <> buildModelFMU(Physiolibrary.Fluid.Examples.Windkessel_3element,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_Windkessel_3element",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.Windkessel_3element,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_Windkessel_3element",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003131/0.003131, allocations: 119.8 kB / 0.4908 GB, free: 25.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1144, allocations: 62.63 MB / 0.552 GB, free: 10.57 MB / 398.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_3element): time 0.3377/0.4521, allocations: 75.47 MB / 0.6257 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01926/0.4714, allocations: 18.92 MB / 0.6442 GB, free: 7.758 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009542/0.4723, allocations: 15.94 kB / 0.6442 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009277/0.4732, allocations: 237.8 kB / 0.6444 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007253/0.4805, allocations: 2.364 MB / 0.6467 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004761/0.4852, allocations: 1.609 MB / 0.6483 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.4869, allocations: 1.184 MB / 0.6494 GB, free: 3.348 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004528/0.4873, allocations: 302.3 kB / 0.6497 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.4897, allocations: 1.073 MB / 0.6508 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007109/0.4904, allocations: 470.5 kB / 0.6512 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.207e-05/0.4905, allocations: 44 kB / 0.6513 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004801/0.4953, allocations: 1.779 MB / 0.653 GB, free: 272 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.4955, allocations: 138.1 kB / 0.6531 GB, free: 164 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006131/0.4961, allocations: 310.3 kB / 0.6534 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.5011, allocations: 2.191 MB / 0.6556 GB, free: 13.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5011, allocations: 0 / 0.6556 GB, free: 13.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5011, allocations: 4 kB / 0.6556 GB, free: 13.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.5011, allocations: 0 / 0.6556 GB, free: 13.75 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001888/0.503, allocations: 1.055 MB / 0.6566 GB, free: 12.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.5031, allocations: 16.03 kB / 0.6566 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.969e-05/0.5031, allocations: 70.53 kB / 0.6567 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.5033, allocations: 55.61 kB / 0.6567 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.5039, allocations: 414.6 kB / 0.6571 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.5039, allocations: 33 kB / 0.6572 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.504, allocations: 36 kB / 0.6572 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007796/0.5048, allocations: 444.6 kB / 0.6576 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.5048, allocations: 8 kB / 0.6576 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.5048, allocations: 19.94 kB / 0.6576 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.5048, allocations: 8 kB / 0.6576 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.5056, allocations: 375.7 kB / 0.658 GB, free: 11.12 MB / 462.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.002958/0.5085, allocations: 2.193 MB / 0.6601 GB, free: 8.695 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.5092, allocations: 334.9 kB / 0.6605 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.5095, allocations: 161.1 kB / 0.6606 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.5109, allocations: 1.013 MB / 0.6616 GB, free: 7.086 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/0.5113, allocations: 208.6 kB / 0.6618 GB, free: 6.871 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.083e-06/0.5113, allocations: 0 / 0.6618 GB, free: 6.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001554/0.5128, allocations: 0.713 MB / 0.6625 GB, free: 6.109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.5129, allocations: 55.41 kB / 0.6626 GB, free: 6.043 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.5133, allocations: 401.5 kB / 0.6629 GB, free: 5.648 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.5134, allocations: 33.7 kB / 0.663 GB, free: 5.609 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.5136, allocations: 236.3 kB / 0.6632 GB, free: 5.371 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.5137, allocations: 123 kB / 0.6633 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.5138, allocations: 82.08 kB / 0.6634 GB, free: 5.164 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.514, allocations: 366.7 kB / 0.6637 GB, free: 4.797 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.5143, allocations: 140.8 kB / 0.6639 GB, free: 4.656 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.5147, allocations: 233.7 kB / 0.6641 GB, free: 4.398 MB / 462.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.002296/0.517, allocations: 0.9668 MB / 0.665 GB, free: 3.383 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.517, allocations: 0 / 0.665 GB, free: 3.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00104/0.518, allocations: 0.5141 MB / 0.6655 GB, free: 2.855 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5181, allocations: 11.94 kB / 0.6656 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5181, allocations: 4 kB / 0.6656 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/0.5183, allocations: 81.92 kB / 0.6656 GB, free: 2.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.5187, allocations: 75.89 kB / 0.6657 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008495/0.5195, allocations: 1.116 MB / 0.6668 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.5199, allocations: 59.61 kB / 0.6669 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.5199, allocations: 16 kB / 0.6669 GB, free: 1.438 MB / 462.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 (48): * Single equations (assignments): 44 * 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.000242/0.5202, allocations: 171.5 kB / 0.667 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.5202, allocations: 47.7 kB / 0.6671 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009788/0.5212, allocations: 481.1 kB / 0.6675 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.5212, allocations: 4 kB / 0.6675 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5212, allocations: 0 / 0.6675 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5212, allocations: 0 / 0.6675 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.5229, allocations: 0.9656 MB / 0.6685 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.5229, allocations: 7.922 kB / 0.6685 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.5231, allocations: 47.91 kB / 0.6685 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/0.5233, allocations: 73.7 kB / 0.6686 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.5233, allocations: 7.938 kB / 0.6686 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008002/0.5241, allocations: 1.113 MB / 0.6697 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.5241, allocations: 8.188 kB / 0.6697 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.5253, allocations: 0.6826 MB / 0.6704 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.5255, allocations: 164.7 kB / 0.6705 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.5256, allocations: 12 kB / 0.6706 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.5259, allocations: 15.98 kB / 0.6706 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.526, allocations: 23.97 kB / 0.6706 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.526, allocations: 11.98 kB / 0.6706 GB, free: 13.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003261/0.5263, allocations: 295 kB / 0.6709 GB, free: 13.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5263, allocations: 0 / 0.6709 GB, free: 13.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001434/0.5277, allocations: 0.5294 MB / 0.6714 GB, free: 12.61 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (arteries.enthalpy,arteries.substanceMasses[1]) * 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 (29): * Single equations (assignments): 23 * 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.003186/0.5309, allocations: 1.946 MB / 0.6733 GB, free: 10.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009197/0.5318, allocations: 360.1 kB / 0.6736 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5318, allocations: 0 / 0.6736 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.5322, allocations: 180.4 kB / 0.6738 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.5332, allocations: 213 kB / 0.674 GB, free: 9.891 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/0.5398, allocations: 4.292 MB / 0.6782 GB, free: 5.434 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.5402, allocations: 0.8196 MB / 0.679 GB, free: 4.586 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003358/0.5406, allocations: 92.08 kB / 0.6791 GB, free: 4.492 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.5408, allocations: 151.4 kB / 0.6792 GB, free: 4.344 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5408, allocations: 0 / 0.6792 GB, free: 4.344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0567/0.5975, allocations: 23.09 MB / 0.7018 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.39/16.99, allocations: 7.938 kB / 0.7018 GB, free: 13.38 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_Windkessel_3element_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Fluid_Examples_Windkessel_3element.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.35026726126671] Failed to read output from testmodel.py, exit status != 0: 17.096067709848285 17.109828765 16.605882487 Calling exit ...