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.001276/0.001276, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001471/0.001471, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.797 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.1547/0.1547, allocations: 23.87 MB / 336.3 MB, free: 10.98 MB / 270.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",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.002126/0.002126, allocations: 75.89 kB / 471.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3907, allocations: 59.85 MB / 0.5185 GB, free: 9.5 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.08579/0.4765, allocations: 33.31 MB / 0.5511 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0704/0.5469, allocations: 41.75 MB / 0.5918 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00369/0.5506, allocations: 55.56 kB / 0.5919 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003495/0.554, allocations: 0.9265 MB / 0.5928 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01355/0.5676, allocations: 3.702 MB / 0.5964 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02013/0.5877, allocations: 6.501 MB / 0.6028 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007472/0.5952, allocations: 4.531 MB / 0.6072 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003635/0.5988, allocations: 2.261 MB / 0.6094 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004597/0.6034, allocations: 2.291 MB / 0.6116 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005513/0.6089, allocations: 2.609 MB / 0.6142 GB, free: 7.727 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001288/0.6102, allocations: 423.9 kB / 0.6146 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01677/0.627, allocations: 5.152 MB / 0.6196 GB, free: 2.152 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.6292, allocations: 0.9971 MB / 0.6206 GB, free: 1.152 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003293/0.6324, allocations: 1.724 MB / 0.6223 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02504/0.6575, allocations: 10.2 MB / 0.6322 GB, free: 5.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.6575, allocations: 0 / 0.6322 GB, free: 5.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.6575, allocations: 0 / 0.6322 GB, free: 5.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001697/0.6577, allocations: 4 kB / 0.6322 GB, free: 5.176 MB / 478.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.01228/0.67, allocations: 4.757 MB / 0.6369 GB, free: 368 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.67, allocations: 8.031 kB / 0.6369 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000627/0.6706, allocations: 426.8 kB / 0.6373 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004322/0.675, allocations: 0.8488 MB / 0.6381 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004169/0.6791, allocations: 1.616 MB / 0.6397 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000374/0.6795, allocations: 349.7 kB / 0.64 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009885/0.6805, allocations: 332.2 kB / 0.6404 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.6916, allocations: 4.551 MB / 0.6448 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.6917, allocations: 4 kB / 0.6448 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008963/0.6926, allocations: 128 kB / 0.6449 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.314e-05/0.6927, allocations: 76 kB / 0.645 GB, free: 7.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.7062, allocations: 6.169 MB / 0.651 GB, free: 1.715 MB / 494.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.02894/0.7351, allocations: 12.02 MB / 0.6628 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.7453, allocations: 5.317 MB / 0.668 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004052/0.7494, allocations: 2.056 MB / 0.67 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02308/0.7725, allocations: 9.13 MB / 0.6789 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.947e-05/0.7725, allocations: 60.8 kB / 0.6789 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00244/0.775, allocations: 465.7 kB / 0.6794 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 1.234e-05/0.775, allocations: 0 / 0.6794 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.1026/0.8776, allocations: 23.36 MB / 0.7022 GB, free: 12.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.8777, allocations: 90.45 kB / 0.7023 GB, free: 12.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.8803, allocations: 1.77 MB / 0.704 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007742/0.8811, allocations: 93.7 kB / 0.7041 GB, free: 10.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.8822, allocations: 1.336 MB / 0.7054 GB, free: 9.594 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001787/0.8839, allocations: 1.375 MB / 0.7068 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/0.8854, allocations: 0.7876 MB / 0.7075 GB, free: 7.406 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8855, allocations: 305.1 kB / 0.7078 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003374/0.8889, allocations: 1.839 MB / 0.7096 GB, free: 5.258 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/0.8934, allocations: 2.843 MB / 0.7124 GB, free: 1.984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008827/0.9022, allocations: 4.979 MB / 0.7173 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-05/0.9022, allocations: 11.98 kB / 0.7173 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02194/0.9242, allocations: 6.841 MB / 0.7239 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.9242, allocations: 16 kB / 0.724 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-05/0.9243, allocations: 32 kB / 0.724 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01275/0.937, allocations: 2.287 MB / 0.7262 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/0.9414, allocations: 0.8854 MB / 0.7271 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2658/1.207, allocations: 17.55 MB / 0.7442 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/1.211, allocations: 139.7 kB / 0.7444 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009831/1.212, allocations: 230 kB / 0.7446 GB, free: 161.1 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.002114/1.214, allocations: 0.606 MB / 0.7452 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.216, allocations: 288.2 kB / 0.7454 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02069/1.236, allocations: 6.582 MB / 0.7519 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.401e-05/1.236, allocations: 41.44 kB / 0.7519 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-05/1.236, allocations: 4.562 kB / 0.7519 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001517/1.237, allocations: 25.08 kB / 0.7519 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02856/1.265, allocations: 10.09 MB / 0.7618 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.903e-05/1.265, allocations: 2.969 kB / 0.7618 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003416/1.269, allocations: 0.6577 MB / 0.7624 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/1.279, allocations: 2.016 MB / 0.7644 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007795/1.28, allocations: 134.3 kB / 0.7645 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/1.3, allocations: 16.18 MB / 0.7803 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.3, allocations: 12.03 kB / 0.7804 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/1.319, allocations: 8.508 MB / 0.7887 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/1.321, allocations: 0.648 MB / 0.7893 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006232/1.322, allocations: 86.48 kB / 0.7894 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/1.324, allocations: 94.88 kB / 0.7895 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00067/1.325, allocations: 353.9 kB / 0.7898 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003011/1.325, allocations: 157.7 kB / 0.79 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001194/1.326, allocations: 1.127 MB / 0.7911 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.326, allocations: 0 / 0.7911 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006093/1.332, allocations: 2.206 MB / 0.7932 GB, free: 133.9 MB / 0.5606 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.02286/1.355, allocations: 11.24 MB / 0.8042 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.366, allocations: 5.601 MB / 0.8097 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.366, allocations: 0 / 0.8097 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005659/1.371, allocations: 3.34 MB / 0.8129 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/1.374, allocations: 0.5471 MB / 0.8134 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06338/1.437, allocations: 31.31 MB / 0.844 GB, free: 81.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.439, allocations: 1.334 MB / 0.8453 GB, free: 79.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002582/1.441, allocations: 0.6777 MB / 0.846 GB, free: 79.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/1.443, allocations: 1.542 MB / 0.8475 GB, free: 77.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/1.443, allocations: 0 / 0.8475 GB, free: 77.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4497/1.893, allocations: 116.7 MB / 0.9614 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.95/20.84, allocations: 3.906 kB / 0.9614 GB, free: 193.3 MB / 0.5919 GB " [Timeout remaining time 639] (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: 23.814030437002657] Failed to read output from testmodel.py, exit status != 0: 21.029250584018882 21.047034503 20.383984536 Calling exit ...