Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.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.09722/0.09722, 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.001202/0.001202, allocations: 107.1 kB / 39.12 MB, free: 1.148 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.001482/0.001482, allocations: 208.9 kB / 46.48 MB, free: 2.512 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.458/1.458, allocations: 225.6 MB / 279.3 MB, free: 15.36 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.1511/0.1511, allocations: 23.72 MB / 362.3 MB, free: 0.7891 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.AirWaterSaturation,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.AirWaterSaturation,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003102/0.003102, allocations: 115.8 kB / 0.492 GB, free: 23.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1308, allocations: 62.64 MB / 0.5532 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.4161/0.5468, allocations: 59.45 MB / 0.6112 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03254/0.5794, allocations: 28.16 MB / 0.6387 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.5808, allocations: 19.19 kB / 0.6387 GB, free: 7.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.5828, allocations: 435.2 kB / 0.6392 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.593, allocations: 2.716 MB / 0.6418 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01437/0.6074, allocations: 3.636 MB / 0.6454 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004525/0.6119, allocations: 1.884 MB / 0.6472 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.6134, allocations: 0.8162 MB / 0.648 GB, free: 1.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00762/0.621, allocations: 3.031 MB / 0.651 GB, free: 240 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005508/0.6266, allocations: 1.41 MB / 0.6523 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003502/0.6269, allocations: 129.8 kB / 0.6525 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01472/0.6416, allocations: 4.161 MB / 0.6565 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009191/0.6425, allocations: 0.5493 MB / 0.6571 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.6439, allocations: 0.7508 MB / 0.6578 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01774/0.6616, allocations: 5.55 MB / 0.6632 GB, free: 5.789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6616, allocations: 0 / 0.6632 GB, free: 5.789 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6616, allocations: 0 / 0.6632 GB, free: 5.789 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.6616, allocations: 4 kB / 0.6632 GB, free: 5.785 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.004411/0.666, allocations: 2.149 MB / 0.6653 GB, free: 3.574 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.6661, allocations: 12.03 kB / 0.6653 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002164/0.6663, allocations: 168.9 kB / 0.6655 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.6675, allocations: 302.8 kB / 0.6658 GB, free: 3.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.669, allocations: 0.7753 MB / 0.6665 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.6691, allocations: 77.94 kB / 0.6666 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.6693, allocations: 96 kB / 0.6667 GB, free: 2.105 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.672, allocations: 1.795 MB / 0.6684 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.6721, allocations: 0 / 0.6684 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.6722, allocations: 36 kB / 0.6685 GB, free: 224 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002305/0.6724, allocations: 85.94 kB / 0.6686 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003528/0.6759, allocations: 2.264 MB / 0.6708 GB, free: 13.86 MB / 478.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.009701/0.6856, allocations: 5.951 MB / 0.6766 GB, free: 7.691 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.688, allocations: 1.191 MB / 0.6777 GB, free: 6.484 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009814/0.689, allocations: 0.6323 MB / 0.6784 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00571/0.6947, allocations: 3.578 MB / 0.6819 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.6948, allocations: 39.56 kB / 0.6819 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006393/0.6954, allocations: 147.2 kB / 0.682 GB, free: 1.902 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 4.649e-06/0.6954, allocations: 3.984 kB / 0.682 GB, free: 1.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=100): time 0.005321/0.7007, allocations: 2.561 MB / 0.6845 GB, free: 15.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.7008, allocations: 60.41 kB / 0.6846 GB, free: 15.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009798/0.7018, allocations: 0.7621 MB / 0.6853 GB, free: 14.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/0.7018, allocations: 41.7 kB / 0.6854 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.7022, allocations: 0.5042 MB / 0.6859 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.7025, allocations: 364.8 kB / 0.6862 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.7029, allocations: 262.8 kB / 0.6865 GB, free: 13.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.7031, allocations: 402.7 kB / 0.6869 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009955/0.7041, allocations: 0.635 MB / 0.6875 GB, free: 12.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.7054, allocations: 0.95 MB / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.7078, allocations: 1.646 MB / 0.69 GB, free: 9.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.7078, allocations: 4 kB / 0.69 GB, free: 9.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003154/0.711, allocations: 1.88 MB / 0.6919 GB, free: 7.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.711, allocations: 8 kB / 0.6919 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.711, allocations: 8 kB / 0.6919 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.7124, allocations: 297.8 kB / 0.6922 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.7134, allocations: 283.6 kB / 0.6924 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.7147, allocations: 1.234 MB / 0.6936 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007276/0.7154, allocations: 39.98 kB / 0.6937 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.7156, allocations: 83.97 kB / 0.6937 GB, free: 5.488 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0005645/0.7161, allocations: 335 kB / 0.6941 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.7163, allocations: 95.39 kB / 0.6942 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/0.7207, allocations: 2.429 MB / 0.6965 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002669/0.7233, allocations: 1.492 MB / 0.698 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.7234, allocations: 4 kB / 0.698 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.7234, allocations: 3.984 kB / 0.698 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/0.729, allocations: 3.125 MB / 0.701 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.729, allocations: 0 / 0.701 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007865/0.7298, allocations: 183.8 kB / 0.7012 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.7311, allocations: 297.4 kB / 0.7015 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/0.7312, allocations: 31.98 kB / 0.7015 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.7325, allocations: 1.202 MB / 0.7027 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7325, allocations: 3.938 kB / 0.7027 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004761/0.7373, allocations: 2.635 MB / 0.7053 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007109/0.738, allocations: 308.2 kB / 0.7056 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.7382, allocations: 23.98 kB / 0.7056 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.7387, allocations: 23.98 kB / 0.7056 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.7389, allocations: 72.91 kB / 0.7057 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.773e-05/0.739, allocations: 43.98 kB / 0.7057 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008424/0.7398, allocations: 0.6122 MB / 0.7063 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.7398, allocations: 0 / 0.7063 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003229/0.743, allocations: 1.276 MB / 0.7076 GB, free: 7.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (upperRespiratoryTract.chemicalSolution.substanceMasses[1],upperRespiratoryTract.chemicalSolution.substanceMasses[2],upperRespiratoryTract.chemicalSolution.substanceMasses[3],upperRespiratoryTract.chemicalSolution.substanceMasses[4],upperRespiratoryTract.enthalpy) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008453/0.7515, allocations: 5.004 MB / 0.7125 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.7543, allocations: 1.577 MB / 0.714 GB, free: 484 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7543, allocations: 0 / 0.714 GB, free: 484 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.7555, allocations: 0.754 MB / 0.7147 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.7576, allocations: 493.2 kB / 0.7152 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/0.7759, allocations: 11.71 MB / 0.7267 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.7769, allocations: 1.129 MB / 0.7278 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001546/0.7785, allocations: 417.2 kB / 0.7282 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009261/0.7794, allocations: 0.5564 MB / 0.7287 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of SimCode: time 1.282e-06/0.7794, allocations: 0 / 0.7287 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/0.8917, allocations: 57.7 MB / 0.785 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.33, allocations: 2.344 kB / 0.785 GB, free: 7.582 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.510149643290788] Failed to read output from testmodel.py, exit status != 0: 15.457584724761546 15.482337549 14.815815896 Calling exit ...