Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001821/0.001821, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002344/0.002344, allocations: 211.1 kB / 22.24 MB, free: 5.262 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1374/0.1374, allocations: 24 MB / 336.4 MB, free: 10.83 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_master_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.002179/0.002179, allocations: 67.91 kB / 471.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3736, allocations: 59.89 MB / 0.5187 GB, free: 9.52 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.08475/0.4584, allocations: 33.44 MB / 0.5514 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06117/0.5195, allocations: 41.75 MB / 0.5922 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003462/0.523, allocations: 51.56 kB / 0.5922 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003573/0.5266, allocations: 0.9265 MB / 0.5931 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01281/0.5394, allocations: 3.713 MB / 0.5967 GB, free: 9.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01915/0.5585, allocations: 6.497 MB / 0.6031 GB, free: 3.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007402/0.5659, allocations: 4.531 MB / 0.6075 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004037/0.57, allocations: 2.211 MB / 0.6097 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.574, allocations: 2.284 MB / 0.6119 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004613/0.5787, allocations: 2.343 MB / 0.6142 GB, free: 7.676 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.5802, allocations: 420 kB / 0.6146 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01656/0.5968, allocations: 5.027 MB / 0.6195 GB, free: 2.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002071/0.5989, allocations: 0.9893 MB / 0.6205 GB, free: 1.238 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004246/0.6031, allocations: 1.739 MB / 0.6222 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02475/0.6279, allocations: 10.19 MB / 0.6321 GB, free: 5.258 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6279, allocations: 0 / 0.6321 GB, free: 5.258 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6279, allocations: 0 / 0.6321 GB, free: 5.258 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001751/0.6281, allocations: 0 / 0.6321 GB, free: 5.258 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.01318/0.6412, allocations: 4.753 MB / 0.6368 GB, free: 456 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.6413, allocations: 12.03 kB / 0.6368 GB, free: 444 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001013/0.6423, allocations: 430.7 kB / 0.6372 GB, free: 0 / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004501/0.6468, allocations: 0.8443 MB / 0.638 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/0.651, allocations: 1.62 MB / 0.6396 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003929/0.6514, allocations: 349.6 kB / 0.6399 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/0.6524, allocations: 332.8 kB / 0.6402 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009211/0.6617, allocations: 4.543 MB / 0.6447 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.65e-05/0.6617, allocations: 3.938 kB / 0.6447 GB, free: 8.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/0.6621, allocations: 128 kB / 0.6448 GB, free: 8.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.844e-05/0.6622, allocations: 76 kB / 0.6449 GB, free: 7.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/0.6743, allocations: 6.173 MB / 0.6509 GB, free: 1.797 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.03363/0.7079, allocations: 12.02 MB / 0.6626 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.7189, allocations: 5.321 MB / 0.6678 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004379/0.7233, allocations: 2.056 MB / 0.6698 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02659/0.7499, allocations: 9.126 MB / 0.6788 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.615e-05/0.75, allocations: 64.8 kB / 0.6788 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00258/0.7526, allocations: 473.8 kB / 0.6793 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 1.194e-05/0.7526, allocations: 3.938 kB / 0.6793 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.1005/0.8531, allocations: 23.35 MB / 0.7021 GB, free: 13.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.8532, allocations: 90.45 kB / 0.7022 GB, free: 12.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.8561, allocations: 1.77 MB / 0.7039 GB, free: 11.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008888/0.857, allocations: 89.7 kB / 0.704 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.8581, allocations: 1.348 MB / 0.7053 GB, free: 9.672 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001857/0.86, allocations: 1.371 MB / 0.7066 GB, free: 8.289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/0.8614, allocations: 0.7759 MB / 0.7074 GB, free: 7.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8615, allocations: 301.1 kB / 0.7077 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/0.865, allocations: 1.851 MB / 0.7095 GB, free: 5.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004704/0.8697, allocations: 2.843 MB / 0.7123 GB, free: 2.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00943/0.8791, allocations: 4.979 MB / 0.7171 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-05/0.8792, allocations: 8 kB / 0.7171 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02203/0.9012, allocations: 6.841 MB / 0.7238 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.9013, allocations: 23.98 kB / 0.7238 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.916e-05/0.9013, allocations: 28 kB / 0.7239 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01194/0.9133, allocations: 2.284 MB / 0.7261 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/0.9174, allocations: 0.8971 MB / 0.727 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2562/1.174, allocations: 17.55 MB / 0.7441 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/1.177, allocations: 138.6 kB / 0.7442 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008524/1.178, allocations: 231.4 kB / 0.7445 GB, free: 161.2 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.001894/1.18, allocations: 0.6043 MB / 0.745 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009601/1.181, allocations: 289.3 kB / 0.7453 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01889/1.2, allocations: 6.579 MB / 0.7517 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/1.2, allocations: 40.72 kB / 0.7518 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.475e-05/1.2, allocations: 7.719 kB / 0.7518 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001069/1.2, allocations: 20.67 kB / 0.7518 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02379/1.224, allocations: 10.09 MB / 0.7617 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.84e-05/1.224, allocations: 8.906 kB / 0.7617 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003158/1.227, allocations: 0.6591 MB / 0.7623 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009531/1.236, allocations: 2.013 MB / 0.7643 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008172/1.237, allocations: 134.8 kB / 0.7644 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01952/1.257, allocations: 16.18 MB / 0.7802 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.257, allocations: 8.375 kB / 0.7802 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01912/1.276, allocations: 8.514 MB / 0.7885 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/1.278, allocations: 0.647 MB / 0.7892 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005986/1.279, allocations: 82.81 kB / 0.7892 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/1.281, allocations: 97 kB / 0.7893 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000681/1.281, allocations: 352.7 kB / 0.7897 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002935/1.282, allocations: 159.9 kB / 0.7898 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001259/1.283, allocations: 1.124 MB / 0.7909 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.283, allocations: 3.938 kB / 0.7909 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005946/1.289, allocations: 2.203 MB / 0.7931 GB, free: 133.7 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.02137/1.31, allocations: 11.23 MB / 0.8041 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.321, allocations: 5.595 MB / 0.8095 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.321, allocations: 0 / 0.8095 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00567/1.327, allocations: 3.345 MB / 0.8128 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/1.33, allocations: 0.5537 MB / 0.8133 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06287/1.392, allocations: 31.3 MB / 0.8439 GB, free: 81.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/1.394, allocations: 1.338 MB / 0.8452 GB, free: 79.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002799/1.397, allocations: 0.6749 MB / 0.8459 GB, free: 79.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/1.399, allocations: 1.546 MB / 0.8474 GB, free: 77.79 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/1.399, allocations: 0 / 0.8474 GB, free: 77.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4237/1.822, allocations: 115.4 MB / 0.96 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.28/21.1, allocations: 2.891 kB / 0.9601 GB, free: 192.1 MB / 0.5919 GB " [Timeout remaining time 639] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.95784717099741] Failed to read output from testmodel.py, exit status != 0: 21.293478523846716 21.317832974 20.685061576 Calling exit ...