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.001245/0.001245, 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.001381/0.001381, allocations: 221.9 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.378/1.378, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.132/0.132, allocations: 23.92 MB / 336.4 MB, free: 10.92 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.00217/0.00217, allocations: 67.03 kB / 471.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2995, allocations: 59.88 MB / 0.5186 GB, free: 9.516 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.07513/0.3747, allocations: 33.31 MB / 0.5512 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05393/0.4286, allocations: 41.74 MB / 0.5919 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0027/0.4313, allocations: 47.62 kB / 0.592 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.4344, allocations: 0.9264 MB / 0.5929 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.011/0.4454, allocations: 3.705 MB / 0.5965 GB, free: 9.965 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01652/0.462, allocations: 6.517 MB / 0.6029 GB, free: 3.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006648/0.4686, allocations: 4.524 MB / 0.6073 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.4717, allocations: 2.258 MB / 0.6095 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.4748, allocations: 2.28 MB / 0.6117 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004263/0.479, allocations: 2.613 MB / 0.6143 GB, free: 7.645 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008945/0.4799, allocations: 431.9 kB / 0.6147 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01286/0.4928, allocations: 5.156 MB / 0.6197 GB, free: 2.059 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.4943, allocations: 0.9893 MB / 0.6207 GB, free: 1.066 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002428/0.4967, allocations: 1.732 MB / 0.6224 GB, free: 15.33 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02044/0.5171, allocations: 10.2 MB / 0.6323 GB, free: 5.086 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5171, allocations: 0 / 0.6323 GB, free: 5.086 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5171, allocations: 0 / 0.6323 GB, free: 5.086 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001034/0.5173, allocations: 0 / 0.6323 GB, free: 5.086 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.0104/0.5277, allocations: 4.757 MB / 0.637 GB, free: 276 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5277, allocations: 15.97 kB / 0.637 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005668/0.5283, allocations: 422.8 kB / 0.6374 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003821/0.5321, allocations: 0.8449 MB / 0.6382 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.5352, allocations: 1.616 MB / 0.6398 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.5355, allocations: 349.7 kB / 0.6401 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006074/0.5361, allocations: 332.2 kB / 0.6404 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008277/0.5444, allocations: 4.547 MB / 0.6449 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.259e-05/0.5445, allocations: 7.938 kB / 0.6449 GB, free: 8.004 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/0.5448, allocations: 124 kB / 0.645 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.237e-05/0.5449, allocations: 76 kB / 0.6451 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.5551, allocations: 6.173 MB / 0.6511 GB, free: 1.625 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.02513/0.5802, allocations: 12.03 MB / 0.6629 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009285/0.5895, allocations: 5.309 MB / 0.668 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003755/0.5932, allocations: 2.063 MB / 0.6701 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02071/0.614, allocations: 9.11 MB / 0.6789 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.151e-05/0.614, allocations: 68.8 kB / 0.679 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00215/0.6162, allocations: 477.7 kB / 0.6795 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 7.675e-06/0.6162, allocations: 0 / 0.6795 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09342/0.7096, allocations: 23.35 MB / 0.7023 GB, free: 12.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.757e-05/0.7097, allocations: 94.39 kB / 0.7024 GB, free: 12.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.7121, allocations: 1.774 MB / 0.7041 GB, free: 10.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006525/0.7128, allocations: 93.7 kB / 0.7042 GB, free: 10.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009896/0.7138, allocations: 1.336 MB / 0.7055 GB, free: 9.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001491/0.7152, allocations: 1.371 MB / 0.7068 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.7165, allocations: 0.7798 MB / 0.7076 GB, free: 7.324 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7167, allocations: 317 kB / 0.7079 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003183/0.7198, allocations: 1.836 MB / 0.7097 GB, free: 5.168 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004134/0.724, allocations: 2.843 MB / 0.7125 GB, free: 1.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007969/0.7319, allocations: 4.975 MB / 0.7173 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.182e-05/0.732, allocations: 12 kB / 0.7173 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02034/0.7523, allocations: 6.841 MB / 0.724 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.7524, allocations: 20 kB / 0.724 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-05/0.7524, allocations: 28.25 kB / 0.7241 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01216/0.7646, allocations: 2.283 MB / 0.7263 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/0.7685, allocations: 0.8971 MB / 0.7272 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2303/0.9988, allocations: 17.55 MB / 0.7443 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/1.003, allocations: 140.1 kB / 0.7444 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008305/1.003, allocations: 230.2 kB / 0.7447 GB, free: 161 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.001509/1.005, allocations: 0.6055 MB / 0.7452 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007174/1.006, allocations: 289.8 kB / 0.7455 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0179/1.024, allocations: 6.583 MB / 0.752 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.313e-05/1.024, allocations: 41.53 kB / 0.752 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-05/1.024, allocations: 8.312 kB / 0.752 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001181/1.024, allocations: 20.77 kB / 0.752 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02449/1.048, allocations: 10.09 MB / 0.7619 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/1.048, allocations: 7.406 kB / 0.7619 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002994/1.051, allocations: 0.6538 MB / 0.7625 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009594/1.061, allocations: 2.017 MB / 0.7645 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006353/1.061, allocations: 137.2 kB / 0.7646 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/1.08, allocations: 16.18 MB / 0.7804 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.08, allocations: 11.34 kB / 0.7804 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/1.097, allocations: 8.515 MB / 0.7887 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/1.098, allocations: 0.6439 MB / 0.7894 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/1.099, allocations: 85.28 kB / 0.7895 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.101, allocations: 92.22 kB / 0.7895 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005844/1.101, allocations: 357.8 kB / 0.7899 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002548/1.102, allocations: 162.8 kB / 0.79 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001054/1.103, allocations: 1.12 MB / 0.7911 GB, free: 135 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.103, allocations: 0 / 0.7911 GB, free: 135 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005259/1.108, allocations: 2.21 MB / 0.7933 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.01995/1.128, allocations: 11.22 MB / 0.8043 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008859/1.137, allocations: 5.599 MB / 0.8097 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.137, allocations: 2.656 kB / 0.8097 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005437/1.142, allocations: 3.349 MB / 0.813 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/1.145, allocations: 0.548 MB / 0.8135 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05265/1.198, allocations: 31.3 MB / 0.8441 GB, free: 81.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.199, allocations: 1.338 MB / 0.8454 GB, free: 79.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002778/1.201, allocations: 0.6729 MB / 0.8461 GB, free: 79.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/1.203, allocations: 1.546 MB / 0.8476 GB, free: 77.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/1.203, allocations: 0 / 0.8476 GB, free: 77.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3704/1.574, allocations: 116.7 MB / 0.9615 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.96/19.53, allocations: 5.656 kB / 0.9615 GB, free: 193.3 MB / 0.5919 GB " [Timeout remaining time 640] (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: 22.203844236995792] Failed to read output from testmodel.py, exit status != 0: 19.719559785007732 19.734041096 19.214032135 Calling exit ...