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.0007702/0.0007702, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007654/0.0007654, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8325/0.8325, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.07859/0.07859, allocations: 17.45 MB / 277.4 MB, free: 11.77 MB / 266.7 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: translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 412.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.638e-05, allocations: 5.234 kB / 412.9 MB, free: 15.75 MB / 394.7 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.2718/0.2718, allocations: 33.62 MB / 446.5 MB, free: 44.15 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.02313/0.295, allocations: 41.75 MB / 488.2 MB, free: 20.72 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.2967, allocations: 48.09 kB / 488.3 MB, free: 20.7 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.2982, allocations: 0.9292 MB / 489.2 MB, free: 20.2 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006729/0.3049, allocations: 3.841 MB / 493.1 MB, free: 17.85 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01158/0.3165, allocations: 6.683 MB / 499.7 MB, free: 13.86 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.3209, allocations: 4.679 MB / 0.4926 GB, free: 11.5 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.323, allocations: 2.233 MB / 0.4948 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.3257, allocations: 3.151 MB / 0.4979 GB, free: 9.246 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.3278, allocations: 2.113 MB / 0.4999 GB, free: 8.688 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004388/0.3282, allocations: 419.8 kB / 0.5003 GB, free: 8.688 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009281/0.3375, allocations: 5.07 MB / 0.5053 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005611/0.3381, allocations: 0.9985 MB / 0.5063 GB, free: 6.883 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.3392, allocations: 1.5 MB / 0.5077 GB, free: 6.234 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.3516, allocations: 10.89 MB / 0.5184 GB, free: 216 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3516, allocations: 3.531 kB / 0.5184 GB, free: 216 kB / 410.8 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3516, allocations: 5.5 kB / 0.5184 GB, free: 212 kB / 410.8 MB Notification: Performance of Transformations before backend: time 3.241e-05/0.3516, allocations: 0 / 0.5184 GB, free: 212 kB / 410.8 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.00522/0.3568, allocations: 4.725 MB / 0.523 GB, free: 13.07 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3568, allocations: 7.094 kB / 0.523 GB, free: 13.07 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.3587, allocations: 0.8495 MB / 0.5238 GB, free: 12.67 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.3604, allocations: 1.616 MB / 0.5254 GB, free: 11.46 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.3605, allocations: 343.9 kB / 0.5257 GB, free: 11.23 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003358/0.3609, allocations: 333.2 kB / 0.526 GB, free: 11.11 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004236/0.3651, allocations: 4.548 MB / 0.5305 GB, free: 8.453 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/0.3652, allocations: 192 / 0.5305 GB, free: 8.453 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.3654, allocations: 136.9 kB / 0.5306 GB, free: 8.344 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.3654, allocations: 81.61 kB / 0.5307 GB, free: 8.34 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005585/0.371, allocations: 6.162 MB / 0.5367 GB, free: 5.543 MB / 426.8 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.01313/0.3841, allocations: 11.66 MB / 0.5481 GB, free: 10.07 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005648/0.3898, allocations: 5.307 MB / 0.5533 GB, free: 4.785 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001965/0.3918, allocations: 2.059 MB / 0.5553 GB, free: 2.719 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/0.4034, allocations: 9.113 MB / 0.5642 GB, free: 9.562 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4034, allocations: 67.36 kB / 0.5643 GB, free: 9.488 MB / 458.8 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001054/0.4045, allocations: 446 kB / 0.5647 GB, free: 9.051 MB / 458.8 MB Notification: Performance of pre-optimization done (n=284): time 4.969e-06/0.4045, allocations: 0 / 0.5647 GB, free: 9.051 MB / 458.8 MB Notification: Performance of matching and sorting (n=387): time 0.04572/0.4502, allocations: 23.35 MB / 0.5875 GB, free: 1.535 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.4502, allocations: 94.45 kB / 0.5876 GB, free: 1.43 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4516, allocations: 1.633 MB / 0.5892 GB, free: 15.79 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.4518, allocations: 97.7 kB / 0.5893 GB, free: 15.69 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005567/0.4523, allocations: 1.359 MB / 0.5906 GB, free: 14.32 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009261/0.4533, allocations: 1.355 MB / 0.5919 GB, free: 12.95 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007918/0.4541, allocations: 0.7759 MB / 0.5927 GB, free: 12.16 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.4541, allocations: 305.1 kB / 0.593 GB, free: 11.86 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.456, allocations: 1.842 MB / 0.5948 GB, free: 10.02 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002962/0.459, allocations: 2.843 MB / 0.5975 GB, free: 6.738 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004846/0.4638, allocations: 4.983 MB / 0.6024 GB, free: 1.328 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.4639, allocations: 12 kB / 0.6024 GB, free: 1.316 MB / 490.8 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01032/0.4742, allocations: 6.829 MB / 0.6091 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.4742, allocations: 20 kB / 0.6091 GB, free: 10.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.4742, allocations: 28 kB / 0.6091 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005552/0.4798, allocations: 2.284 MB / 0.6114 GB, free: 8.078 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.4815, allocations: 0.8932 MB / 0.6122 GB, free: 7.184 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/0.4964, allocations: 17.36 MB / 0.6292 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.4979, allocations: 140 kB / 0.6293 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.4982, allocations: 235.8 kB / 0.6295 GB, free: 4.699 MB / 0.5105 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.001015/0.4992, allocations: 0.6048 MB / 0.6301 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.4996, allocations: 274.2 kB / 0.6304 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1526/0.6522, allocations: 6.574 MB / 0.6368 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.6522, allocations: 41.41 kB / 0.6368 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.6522, allocations: 13.05 kB / 0.6369 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.894e-05/0.6522, allocations: 19.92 kB / 0.6369 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.6643, allocations: 9.759 MB / 0.6464 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.6643, allocations: 3 kB / 0.6464 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.6657, allocations: 0.6566 MB / 0.6471 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004147/0.6698, allocations: 2.014 MB / 0.649 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/0.67, allocations: 135.4 kB / 0.6492 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00998/0.68, allocations: 16 MB / 0.6648 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.68, allocations: 5.25 kB / 0.6648 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/0.69, allocations: 8.492 MB / 0.6731 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.691, allocations: 0.6257 MB / 0.6737 GB, free: 137 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.6912, allocations: 84.53 kB / 0.6738 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000908/0.6921, allocations: 93.08 kB / 0.6739 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004587/0.6926, allocations: 352 kB / 0.6742 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/0.6928, allocations: 163.2 kB / 0.6743 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008781/0.6937, allocations: 1.032 MB / 0.6754 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6937, allocations: 0 / 0.6754 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004409/0.6981, allocations: 2.208 MB / 0.6775 GB, free: 136.2 MB / 0.5105 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.002815/0.7009, allocations: 2.33 MB / 0.6798 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005986/0.7069, allocations: 5.599 MB / 0.6853 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7069, allocations: 1.25 kB / 0.6853 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003042/0.7099, allocations: 3.349 MB / 0.6885 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.7114, allocations: 0.5408 MB / 0.6891 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006509/0.7179, allocations: 6.644 MB / 0.6955 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009548/0.7189, allocations: 1.332 MB / 0.6968 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009298/0.7198, allocations: 0.547 MB / 0.6974 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/0.7198, allocations: 0 / 0.6974 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.2129/0.9327, allocations: 171.3 MB / 0.8647 GB, free: 151.4 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.009822441264987] Failed to read output from testmodel.py, exit status != 0: 0.9382384661585093 0.945654824 0.59256709 Calling exit ...