Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.conf.json 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.001301/0.001301, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001363/0.001363, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1452/0.1452, allocations: 23.86 MB / 333.4 MB, free: 1.195 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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) Running command: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="cs",version="2.0",platforms={"static"}) [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: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 72.98 kB / 466.7 MB, free: 30.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1093, allocations: 59.82 MB / 0.5142 GB, free: 12.93 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood): time 0.04695/0.1562, allocations: 34.91 MB / 0.5483 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3054/0.4616, allocations: 47.61 MB / 0.5948 GB, free: 17.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003229/0.4649, allocations: 48.72 kB / 0.5948 GB, free: 17.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.4683, allocations: 1.02 MB / 0.5958 GB, free: 17.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01295/0.4813, allocations: 3.735 MB / 0.5995 GB, free: 17.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01766/0.4989, allocations: 6.425 MB / 0.6057 GB, free: 16.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007751/0.5067, allocations: 4.545 MB / 0.6102 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003721/0.5104, allocations: 2.279 MB / 0.6124 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.5153, allocations: 2.285 MB / 0.6146 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005061/0.5204, allocations: 2.609 MB / 0.6172 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.5214, allocations: 422.8 kB / 0.6176 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01726/0.5386, allocations: 5.362 MB / 0.6228 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.5402, allocations: 0.9911 MB / 0.6238 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002946/0.5432, allocations: 2.024 MB / 0.6258 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02573/0.5689, allocations: 10.23 MB / 0.6358 GB, free: 5.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.5689, allocations: 0 / 0.6358 GB, free: 5.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5689, allocations: 0 / 0.6358 GB, free: 5.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001512/0.5691, allocations: 2.719 kB / 0.6358 GB, free: 5.086 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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01111/0.5802, allocations: 4.847 MB / 0.6405 GB, free: 460 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.5802, allocations: 10.72 kB / 0.6405 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.575e-05/0.5803, allocations: 82.48 kB / 0.6406 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005252/0.5808, allocations: 433.5 kB / 0.641 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004078/0.5849, allocations: 0.848 MB / 0.6418 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.5882, allocations: 1.688 MB / 0.6435 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.5885, allocations: 301 kB / 0.6438 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006681/0.5892, allocations: 328.3 kB / 0.6441 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008303/0.5975, allocations: 4.508 MB / 0.6485 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.943e-05/0.5975, allocations: 2.906 kB / 0.6485 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003846/0.5979, allocations: 135.9 kB / 0.6486 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.026e-05/0.598, allocations: 79.98 kB / 0.6487 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.609, allocations: 6.168 MB / 0.6547 GB, free: 1.793 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.02887/0.6379, allocations: 14.12 MB / 0.6685 GB, free: 3.496 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.648, allocations: 6.135 MB / 0.6745 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003785/0.6518, allocations: 2.05 MB / 0.6765 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02491/0.6767, allocations: 14.91 MB / 0.6911 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/0.6767, allocations: 64.78 kB / 0.6911 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002302/0.679, allocations: 461.2 kB / 0.6916 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 1.04e-05/0.679, allocations: 4 kB / 0.6916 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=387): time 0.09467/0.7737, allocations: 23.87 MB / 0.7149 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.7738, allocations: 90.45 kB / 0.715 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.7763, allocations: 1.708 MB / 0.7166 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000722/0.7771, allocations: 92.36 kB / 0.7167 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.7782, allocations: 1.342 MB / 0.718 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/0.7798, allocations: 1.377 MB / 0.7194 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.7811, allocations: 0.7774 MB / 0.7201 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7813, allocations: 308.9 kB / 0.7204 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003313/0.7846, allocations: 1.826 MB / 0.7222 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0043/0.7889, allocations: 2.817 MB / 0.725 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008847/0.7977, allocations: 4.933 MB / 0.7298 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.962e-05/0.7978, allocations: 11.94 kB / 0.7298 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02018/0.8179, allocations: 6.785 MB / 0.7364 GB, free: 11.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.818, allocations: 23.98 kB / 0.7364 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.703e-05/0.818, allocations: 28.62 kB / 0.7365 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/0.8294, allocations: 2.281 MB / 0.7387 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003965/0.8334, allocations: 0.8919 MB / 0.7396 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02949/0.8629, allocations: 18.4 MB / 0.7575 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/0.8664, allocations: 155.8 kB / 0.7577 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006173/0.867, allocations: 223.9 kB / 0.7579 GB, free: 4.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (469): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,26), (1,3), (1,6), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001511/0.8685, allocations: 0.6061 MB / 0.7585 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007669/0.8693, allocations: 282.2 kB / 0.7588 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01866/0.8879, allocations: 6.562 MB / 0.7652 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/0.888, allocations: 40 kB / 0.7652 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/0.888, allocations: 4 kB / 0.7652 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000114/0.8881, allocations: 19.92 kB / 0.7652 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02573/0.9139, allocations: 10.63 MB / 0.7756 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-05/0.9139, allocations: 7.938 kB / 0.7756 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/0.9171, allocations: 0.6559 MB / 0.7763 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009887/0.927, allocations: 2.019 MB / 0.7782 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000754/0.9277, allocations: 140.7 kB / 0.7784 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02507/0.9528, allocations: 17.03 MB / 0.795 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.9528, allocations: 4 kB / 0.795 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02217/0.975, allocations: 8.46 MB / 0.8033 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/0.9769, allocations: 0.7122 MB / 0.804 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007113/0.9776, allocations: 83.98 kB / 0.804 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/0.9799, allocations: 99.86 kB / 0.8041 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008392/0.9807, allocations: 342.6 kB / 0.8045 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003761/0.9811, allocations: 159.9 kB / 0.8046 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001657/0.9828, allocations: 1.113 MB / 0.8057 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.9828, allocations: 0 / 0.8057 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007167/0.9899, allocations: 2.206 MB / 0.8079 GB, free: 0.582 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.logn) * 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 (354): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,8), (4,30), (1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02824/1.018, allocations: 11.17 MB / 0.8188 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.2404/1.259, allocations: 5.558 MB / 0.8242 GB, free: 232.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.259, allocations: 1.031 kB / 0.8242 GB, free: 232.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.007324/1.266, allocations: 3.337 MB / 0.8274 GB, free: 231.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/1.269, allocations: 0.5481 MB / 0.828 GB, free: 231.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06646/1.336, allocations: 31.15 MB / 0.8584 GB, free: 219 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/1.337, allocations: 1.887 MB / 0.8602 GB, free: 218.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00281/1.34, allocations: 0.662 MB / 0.8609 GB, free: 218.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/1.342, allocations: 1.546 MB / 0.8624 GB, free: 217.1 MB / 0.6231 GB Notification: Performance of SimCode: time 1.162e-06/1.342, allocations: 2.656 kB / 0.8624 GB, free: 217.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/1.503, allocations: 112.7 MB / 0.9725 GB, free: 112.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.36/52.86, allocations: 10.44 kB / 0.9725 GB, free: 112.7 MB / 0.6231 GB " [Timeout remaining time 607] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 55.79358256899286] Failed to read output from testmodel.py, exit status != 0: 53.07500988099491 53.084781451 52.513516709 Calling exit ...