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.00182/0.00182, allocations: 104.2 kB / 19.71 MB, free: 2.141 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.002308/0.002308, allocations: 211.7 kB / 23 MB, free: 4.969 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.1326/0.1326, allocations: 23.88 MB / 337.1 MB, free: 11 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: translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") [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.002081/0.002081, allocations: 71.02 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3183, allocations: 59.86 MB / 0.5198 GB, free: 9.812 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.08032/0.3986, allocations: 33.27 MB / 0.5523 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06981/0.4684, allocations: 41.75 MB / 0.593 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004131/0.4725, allocations: 51.56 kB / 0.5931 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005484/0.478, allocations: 0.9187 MB / 0.594 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02107/0.4991, allocations: 3.709 MB / 0.5976 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03578/0.5348, allocations: 6.497 MB / 0.6039 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01138/0.5462, allocations: 4.535 MB / 0.6084 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005053/0.5513, allocations: 2.254 MB / 0.6106 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00348/0.5548, allocations: 2.288 MB / 0.6128 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004524/0.5593, allocations: 2.613 MB / 0.6154 GB, free: 7.742 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.5604, allocations: 420 kB / 0.6158 GB, free: 7.332 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01456/0.5749, allocations: 5.16 MB / 0.6208 GB, free: 2.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.5765, allocations: 0.9971 MB / 0.6218 GB, free: 1.164 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002403/0.5789, allocations: 1.728 MB / 0.6235 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02309/0.602, allocations: 10.2 MB / 0.6334 GB, free: 5.191 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.602, allocations: 0 / 0.6334 GB, free: 5.191 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.602, allocations: 0 / 0.6334 GB, free: 5.191 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001824/0.6022, allocations: 0 / 0.6334 GB, free: 5.191 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.01223/0.6144, allocations: 4.761 MB / 0.6381 GB, free: 380 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6144, allocations: 12.03 kB / 0.6381 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.6186, allocations: 0.8487 MB / 0.6389 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003507/0.6221, allocations: 1.62 MB / 0.6405 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.6224, allocations: 349.7 kB / 0.6408 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006785/0.6231, allocations: 336.2 kB / 0.6411 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008236/0.6314, allocations: 4.551 MB / 0.6456 GB, free: 8.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/0.6314, allocations: 0 / 0.6456 GB, free: 8.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003588/0.6318, allocations: 124 kB / 0.6457 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/0.6318, allocations: 76 kB / 0.6458 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.6421, allocations: 6.177 MB / 0.6518 GB, free: 2.145 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.02598/0.6681, allocations: 11.65 MB / 0.6632 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009484/0.6776, allocations: 5.305 MB / 0.6684 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/0.6811, allocations: 2.067 MB / 0.6704 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02152/0.7026, allocations: 9.103 MB / 0.6793 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/0.7026, allocations: 60.8 kB / 0.6793 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00227/0.7049, allocations: 454 kB / 0.6798 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 8.316e-06/0.7049, allocations: 0 / 0.6798 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.1048/0.8097, allocations: 23.35 MB / 0.7026 GB, free: 13.83 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.8098, allocations: 90.45 kB / 0.7027 GB, free: 13.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.8123, allocations: 1.633 MB / 0.7043 GB, free: 12.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008572/0.8131, allocations: 89.7 kB / 0.7043 GB, free: 12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.8143, allocations: 1.37 MB / 0.7057 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001904/0.8162, allocations: 1.371 MB / 0.707 GB, free: 9.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001447/0.8177, allocations: 0.7837 MB / 0.7078 GB, free: 8.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8178, allocations: 301.1 kB / 0.7081 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/0.8216, allocations: 1.839 MB / 0.7099 GB, free: 6.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004773/0.8264, allocations: 2.85 MB / 0.7127 GB, free: 3.008 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009406/0.8358, allocations: 4.971 MB / 0.7175 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.638e-05/0.8358, allocations: 8 kB / 0.7175 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02353/0.8594, allocations: 6.829 MB / 0.7242 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.8594, allocations: 20 kB / 0.7242 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.407e-05/0.8595, allocations: 31.94 kB / 0.7242 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0135/0.873, allocations: 2.292 MB / 0.7265 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004359/0.8773, allocations: 0.8971 MB / 0.7273 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2642/1.141, allocations: 17.38 MB / 0.7443 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/1.145, allocations: 139.5 kB / 0.7444 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009918/1.146, allocations: 230.3 kB / 0.7447 GB, free: 162.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.00189/1.148, allocations: 0.6051 MB / 0.7453 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009118/1.149, allocations: 278.3 kB / 0.7455 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01982/1.169, allocations: 6.564 MB / 0.7519 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001662/1.169, allocations: 21.62 kB / 0.752 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.169, allocations: 3.406 kB / 0.752 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/1.171, allocations: 0.6281 MB / 0.7526 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006093/1.172, allocations: 81.06 kB / 0.7526 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/1.174, allocations: 95.11 kB / 0.7527 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008348/1.175, allocations: 357.7 kB / 0.7531 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01628/1.191, allocations: 5.551 MB / 0.7585 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01068/1.202, allocations: 6.795 MB / 0.7651 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002844/1.205, allocations: 1.815 MB / 0.7669 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00121/1.206, allocations: 1.037 MB / 0.7679 GB, free: 153 MB / 0.5606 GB Notification: Performance of Backend: time 3.71e-07/1.206, allocations: 0 / 0.7679 GB, free: 153 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01425/1.22, allocations: 6.774 MB / 0.7745 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.008297/1.228, allocations: 6.613 MB / 0.781 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.113/1.341, allocations: 104.1 MB / 0.8826 GB, free: 46.46 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.028133018990047] Failed to read output from testmodel.py, exit status != 0: 1.3500328860100126 1.359221205 0.754731763 Calling exit ...