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.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.09901/0.09901, allocations: 15.53 MB / 34.27 MB, free: 4.613 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.001319/0.001319, allocations: 116.4 kB / 41.83 MB, free: 6.305 MB / 34.91 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.00139/0.00139, allocations: 193.7 kB / 49.48 MB, free: 10.13 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.454/1.454, allocations: 225.5 MB / 282.6 MB, free: 8.934 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.1507/0.1507, allocations: 23.69 MB / 365.9 MB, free: 9.137 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.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.MeanRespiration,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.MeanRespiration,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003239/0.003239, allocations: 123.8 kB / 0.496 GB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.3001, allocations: 62.67 MB / 0.5572 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.06097/0.3611, allocations: 34.88 MB / 0.5912 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03686/0.398, allocations: 17.69 MB / 0.6085 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.3983, allocations: 7.938 kB / 0.6085 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.399, allocations: 119.1 kB / 0.6086 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008719/0.4077, allocations: 1.836 MB / 0.6104 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006289/0.414, allocations: 1.324 MB / 0.6117 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.4154, allocations: 0.564 MB / 0.6123 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.4164, allocations: 0.6628 MB / 0.6129 GB, free: 13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.4193, allocations: 1.281 MB / 0.6142 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.4204, allocations: 0.647 MB / 0.6148 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.4206, allocations: 76 kB / 0.6149 GB, free: 11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0054/0.426, allocations: 1.945 MB / 0.6168 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.4264, allocations: 263.4 kB / 0.617 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.4269, allocations: 330.8 kB / 0.6173 GB, free: 8.465 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006321/0.4332, allocations: 2.717 MB / 0.62 GB, free: 5.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.4332, allocations: 4 kB / 0.62 GB, free: 5.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4332, allocations: 4 kB / 0.62 GB, free: 5.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.4332, allocations: 0 / 0.62 GB, free: 5.73 MB / 446.1 MB 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.002705/0.4359, allocations: 0.9348 MB / 0.6209 GB, free: 4.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.436, allocations: 8.031 kB / 0.6209 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.4361, allocations: 58.55 kB / 0.621 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.4363, allocations: 43.75 kB / 0.621 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008698/0.4372, allocations: 380.9 kB / 0.6214 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.4372, allocations: 20.44 kB / 0.6214 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/0.4373, allocations: 20 kB / 0.6214 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.4385, allocations: 0.7025 MB / 0.6221 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4385, allocations: 0 / 0.6221 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.129e-05/0.4386, allocations: 11.98 kB / 0.6221 GB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.4386, allocations: 12 kB / 0.6221 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.4405, allocations: 1.071 MB / 0.6232 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.4436, allocations: 1.48 MB / 0.6246 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.4443, allocations: 338.5 kB / 0.6249 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/0.4449, allocations: 301.7 kB / 0.6252 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.4451, allocations: 35.95 kB / 0.6253 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.4451, allocations: 46.53 kB / 0.6253 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001255/0.4464, allocations: 267.6 kB / 0.6256 GB, free: 15.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/0.4464, allocations: 4 kB / 0.6256 GB, free: 15.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.008963/0.4553, allocations: 2.02 MB / 0.6275 GB, free: 13.83 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.4554, allocations: 59.33 kB / 0.6276 GB, free: 13.76 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.4558, allocations: 364.5 kB / 0.628 GB, free: 13.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.4559, allocations: 29.7 kB / 0.628 GB, free: 13.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.456, allocations: 160.7 kB / 0.6281 GB, free: 13.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.4561, allocations: 111 kB / 0.6282 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.4563, allocations: 89.62 kB / 0.6283 GB, free: 13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4565, allocations: 342.8 kB / 0.6287 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.4568, allocations: 231.9 kB / 0.6289 GB, free: 12.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.4573, allocations: 235.8 kB / 0.6291 GB, free: 12.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008957/0.4582, allocations: 0.5022 MB / 0.6296 GB, free: 11.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4582, allocations: 0 / 0.6296 GB, free: 11.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002287/0.4604, allocations: 0.935 MB / 0.6305 GB, free: 10.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4605, allocations: 6.344 kB / 0.6305 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.4605, allocations: 0 / 0.6305 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04743/0.5079, allocations: 4.167 MB / 0.6346 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.744e-05/0.5079, allocations: 4 kB / 0.6346 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.5113, allocations: 1.524 MB / 0.6361 GB, free: 5.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.5116, allocations: 8 kB / 0.6361 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.5117, allocations: 31.95 kB / 0.6361 GB, free: 4.973 MB / 462.1 MB 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.0002465/0.5119, allocations: 161.8 kB / 0.6363 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.512, allocations: 31.81 kB / 0.6363 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.5142, allocations: 1.056 MB / 0.6373 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.5142, allocations: 4 kB / 0.6373 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5142, allocations: 0 / 0.6373 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.5142, allocations: 0 / 0.6373 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.5171, allocations: 1.708 MB / 0.639 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5171, allocations: 0 / 0.639 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.5171, allocations: 7.922 kB / 0.639 GB, free: 1.926 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002196/0.5193, allocations: 0.7793 MB / 0.6398 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.5193, allocations: 4 kB / 0.6398 GB, free: 1.137 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.5218, allocations: 1.541 MB / 0.6413 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5218, allocations: 4 kB / 0.6413 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.5233, allocations: 0.9652 MB / 0.6422 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.5235, allocations: 79.7 kB / 0.6423 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.5236, allocations: 7.984 kB / 0.6423 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.5238, allocations: 12 kB / 0.6423 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.5239, allocations: 23.83 kB / 0.6423 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.524, allocations: 16 kB / 0.6424 GB, free: 14.45 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003073/0.5243, allocations: 271 kB / 0.6426 GB, free: 14.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5243, allocations: 0 / 0.6426 GB, free: 14.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001451/0.5257, allocations: 0.5953 MB / 0.6432 GB, free: 13.58 MB / 478.1 MB 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.003837/0.5296, allocations: 2.479 MB / 0.6456 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002266/0.5318, allocations: 0.7278 MB / 0.6463 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5318, allocations: 0 / 0.6463 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.5329, allocations: 427.7 kB / 0.6467 GB, free: 9.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.5342, allocations: 287.8 kB / 0.647 GB, free: 9.656 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008414/0.5426, allocations: 5.244 MB / 0.6521 GB, free: 4.324 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.543, allocations: 0.8 MB / 0.6529 GB, free: 3.496 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.5432, allocations: 43.31 kB / 0.6529 GB, free: 3.453 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.5434, allocations: 111.4 kB / 0.6531 GB, free: 3.348 MB / 478.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5434, allocations: 0 / 0.6531 GB, free: 3.348 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06884/0.6122, allocations: 31.23 MB / 0.6835 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.39, allocations: 11.67 kB / 0.6836 GB, free: 4.316 MB / 0.4981 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.34575086797122] Failed to read output from testmodel.py, exit status != 0: 14.515585458022542 14.532400897 14.095749801 Calling exit ...