Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.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.09453/0.09453, allocations: 11.15 MB / 30.84 MB, free: 6.121 MB / 26.18 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.001313/0.001313, allocations: 87.59 kB / 38.4 MB, free: 7.914 MB / 34.91 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.001644/0.001644, allocations: 172.5 kB / 46.07 MB, free: 240 kB / 34.91 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 1.346/1.346, allocations: 177.2 MB / 230.8 MB, free: 8.047 MB / 206.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.1352/0.1352, allocations: 17.63 MB / 309.3 MB, free: 12.82 MB / 286.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.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.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.003934/0.003934, allocations: 126 kB / 454.1 MB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1138, allocations: 63.84 MB / 0.5058 GB, free: 312 kB / 462.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.03963/0.1534, allocations: 31.1 MB / 0.5362 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01888/0.1723, allocations: 15.69 MB / 0.5515 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003063/0.1726, allocations: 11.88 kB / 0.5515 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.1731, allocations: 111.1 kB / 0.5516 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.2151/0.3882, allocations: 1.77 MB / 0.5534 GB, free: 63.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.3912, allocations: 1.331 MB / 0.5547 GB, free: 63.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006813/0.3919, allocations: 0.557 MB / 0.5552 GB, free: 63.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006427/0.3925, allocations: 0.6636 MB / 0.5559 GB, free: 63.63 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.3947, allocations: 1.248 MB / 0.5571 GB, free: 63.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007359/0.3955, allocations: 0.5905 MB / 0.5577 GB, free: 63.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.612e-05/0.3956, allocations: 75.72 kB / 0.5577 GB, free: 63.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004767/0.4003, allocations: 1.912 MB / 0.5596 GB, free: 63.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.4006, allocations: 264.7 kB / 0.5599 GB, free: 63.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.401, allocations: 292.5 kB / 0.5601 GB, free: 63.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005692/0.4067, allocations: 2.737 MB / 0.5628 GB, free: 63.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4067, allocations: 0.5312 kB / 0.5628 GB, free: 63.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4067, allocations: 0.6875 kB / 0.5628 GB, free: 63.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.4067, allocations: 0 / 0.5628 GB, free: 63.46 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002152/0.4088, allocations: 0.9402 MB / 0.5637 GB, free: 62.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.4089, allocations: 15.48 kB / 0.5637 GB, free: 62.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.409, allocations: 37.45 kB / 0.5638 GB, free: 62.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.4097, allocations: 376.9 kB / 0.5641 GB, free: 62.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.4097, allocations: 16 kB / 0.5641 GB, free: 62.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.4098, allocations: 26.64 kB / 0.5642 GB, free: 62.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.4109, allocations: 0.7046 MB / 0.5649 GB, free: 62.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4109, allocations: 0 / 0.5649 GB, free: 62.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/0.411, allocations: 9.719 kB / 0.5649 GB, free: 62.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.411, allocations: 7.375 kB / 0.5649 GB, free: 62.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.4127, allocations: 1.08 MB / 0.5659 GB, free: 62.65 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.4151, allocations: 1.218 MB / 0.5671 GB, free: 62.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.4158, allocations: 335.3 kB / 0.5674 GB, free: 62.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/0.4163, allocations: 291.8 kB / 0.5677 GB, free: 62.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.4165, allocations: 39.12 kB / 0.5678 GB, free: 62.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.4165, allocations: 39.7 kB / 0.5678 GB, free: 62.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001279/0.4178, allocations: 273 kB / 0.5681 GB, free: 62.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.4178, allocations: 0 / 0.5681 GB, free: 62.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.009485/0.4273, allocations: 2.023 MB / 0.57 GB, free: 62.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.4273, allocations: 56.33 kB / 0.5701 GB, free: 62.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.4276, allocations: 302.2 kB / 0.5704 GB, free: 62.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.4277, allocations: 30.98 kB / 0.5704 GB, free: 62.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.4277, allocations: 167 kB / 0.5706 GB, free: 61.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.432e-05/0.4278, allocations: 112.3 kB / 0.5707 GB, free: 61.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.428, allocations: 86.34 kB / 0.5708 GB, free: 61.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.336e-05/0.428, allocations: 344.1 kB / 0.5711 GB, free: 61.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.4284, allocations: 229.9 kB / 0.5713 GB, free: 61.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.4288, allocations: 233.7 kB / 0.5715 GB, free: 61.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/0.4296, allocations: 0.5074 MB / 0.572 GB, free: 61.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4296, allocations: 0 / 0.572 GB, free: 61.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00211/0.4317, allocations: 0.9156 MB / 0.5729 GB, free: 61.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4317, allocations: 6.5 kB / 0.5729 GB, free: 61.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4317, allocations: 1.969 kB / 0.5729 GB, free: 61.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05165/0.4833, allocations: 4.238 MB / 0.5771 GB, free: 61.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.347e-05/0.4834, allocations: 5.266 kB / 0.5771 GB, free: 61.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/0.4865, allocations: 1.519 MB / 0.5785 GB, free: 60.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.4869, allocations: 4.906 kB / 0.5786 GB, free: 60.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.487, allocations: 30.17 kB / 0.5786 GB, free: 60.83 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(13,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002199/0.4872, allocations: 153.8 kB / 0.5787 GB, free: 60.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4873, allocations: 32.31 kB / 0.5788 GB, free: 60.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.4892, allocations: 1.058 MB / 0.5798 GB, free: 60.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.4892, allocations: 6.047 kB / 0.5798 GB, free: 60.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4892, allocations: 1.594 kB / 0.5798 GB, free: 60.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4892, allocations: 1.781 kB / 0.5798 GB, free: 60.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.4913, allocations: 1.6 MB / 0.5814 GB, free: 59.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4913, allocations: 0 / 0.5814 GB, free: 59.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.4914, allocations: 2.75 kB / 0.5814 GB, free: 59.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/0.4933, allocations: 0.7823 MB / 0.5821 GB, free: 59.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.4934, allocations: 11.72 kB / 0.5821 GB, free: 59.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.4953, allocations: 1.546 MB / 0.5836 GB, free: 58.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4953, allocations: 5.844 kB / 0.5837 GB, free: 58.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.4964, allocations: 0.95 MB / 0.5846 GB, free: 58.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.4966, allocations: 72.33 kB / 0.5847 GB, free: 58.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.4966, allocations: 11.88 kB / 0.5847 GB, free: 58.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.4969, allocations: 8.625 kB / 0.5847 GB, free: 58.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.497, allocations: 22.89 kB / 0.5847 GB, free: 58.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.497, allocations: 15.97 kB / 0.5847 GB, free: 58.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001704/0.4972, allocations: 219.5 kB / 0.5849 GB, free: 58.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4972, allocations: 4 kB / 0.5849 GB, free: 58.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001517/0.4987, allocations: 0.6029 MB / 0.5855 GB, free: 57.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001565/0.5003, allocations: 1.052 MB / 0.5865 GB, free: 57.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002107/0.5024, allocations: 0.7052 MB / 0.5872 GB, free: 57.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5024, allocations: 3.25 kB / 0.5872 GB, free: 57.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5034, allocations: 440.9 kB / 0.5877 GB, free: 57.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.5045, allocations: 247.8 kB / 0.5879 GB, free: 57.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.5056, allocations: 0.8688 MB / 0.5887 GB, free: 56.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.5058, allocations: 201.9 kB / 0.5889 GB, free: 56.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.5059, allocations: 38.75 kB / 0.589 GB, free: 56.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.5059, allocations: 21.48 kB / 0.589 GB, free: 56.73 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.5059, allocations: 0 / 0.589 GB, free: 56.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.02668/0.5326, allocations: 24.11 MB / 0.6125 GB, free: 39.41 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.675462974002585] Failed to read output from testmodel.py, exit status != 0: 0.5407013760413975 0.548798769 0.139862656 Calling exit ...