Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 114.5 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 188.3 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08076/0.08076, allocations: 15.29 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.08 kB / 425.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08721/0.08846, allocations: 53.62 MB / 479.5 MB, free: 5.789 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.AcidBase.CarbonDioxideInBlood): time 0.0405/0.129, allocations: 33.94 MB / 0.5014 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2376/0.3666, allocations: 47.4 MB / 0.5477 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.3689, allocations: 38.09 kB / 0.5477 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.3718, allocations: 1.026 MB / 0.5487 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.3834, allocations: 3.73 MB / 0.5524 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01869/0.4021, allocations: 6.424 MB / 0.5586 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007935/0.4101, allocations: 4.542 MB / 0.5631 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005025/0.4151, allocations: 2.656 MB / 0.5657 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004878/0.4201, allocations: 2.241 MB / 0.5679 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006142/0.4262, allocations: 2.557 MB / 0.5704 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00212/0.4284, allocations: 419.9 kB / 0.5708 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02692/0.4553, allocations: 5.289 MB / 0.5759 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002735/0.4581, allocations: 0.9776 MB / 0.5769 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005229/0.4634, allocations: 2.026 MB / 0.5789 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02582/0.4892, allocations: 9.926 MB / 0.5886 GB, free: 6.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.4893, allocations: 4 kB / 0.5886 GB, free: 6.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4893, allocations: 2.625 kB / 0.5886 GB, free: 6.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000184/0.4895, allocations: 0 / 0.5886 GB, free: 6.828 MB / 430.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.01196/0.5014, allocations: 4.878 MB / 0.5933 GB, free: 1.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5015, allocations: 10.69 kB / 0.5933 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004143/0.5057, allocations: 0.8591 MB / 0.5942 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003146/0.5088, allocations: 1.665 MB / 0.5958 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.5091, allocations: 300.9 kB / 0.5961 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008656/0.51, allocations: 328.3 kB / 0.5964 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008717/0.5187, allocations: 4.478 MB / 0.6008 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.497e-05/0.5188, allocations: 0 / 0.6008 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004186/0.5193, allocations: 128 kB / 0.6009 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-05/0.5193, allocations: 76 kB / 0.601 GB, free: 9.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009965/0.5293, allocations: 6.109 MB / 0.6069 GB, free: 3.84 MB / 446.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.02463/0.554, allocations: 14 MB / 0.6206 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009557/0.5635, allocations: 6.317 MB / 0.6268 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/0.5671, allocations: 2.235 MB / 0.629 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02498/0.5921, allocations: 14.78 MB / 0.6434 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.192e-05/0.5922, allocations: 64.8 kB / 0.6435 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001947/0.5942, allocations: 395 kB / 0.6438 GB, free: 12.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 1.327e-05/0.5942, allocations: 0 / 0.6438 GB, free: 12.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=387): time 0.09435/0.6886, allocations: 23.9 MB / 0.6672 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.6886, allocations: 90.45 kB / 0.6673 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.6909, allocations: 1.712 MB / 0.6689 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003114/0.6912, allocations: 85.7 kB / 0.669 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00085/0.6921, allocations: 1.344 MB / 0.6703 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.6932, allocations: 1.379 MB / 0.6717 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/0.6946, allocations: 0.7759 MB / 0.6724 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.6947, allocations: 313.1 kB / 0.6727 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003189/0.6979, allocations: 1.816 MB / 0.6745 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/0.7019, allocations: 2.827 MB / 0.6773 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008834/0.7108, allocations: 4.928 MB / 0.6821 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.205e-05/0.7108, allocations: 11.94 kB / 0.6821 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02062/0.7314, allocations: 6.829 MB / 0.6888 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.7315, allocations: 20 kB / 0.6888 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.758e-05/0.7316, allocations: 28 kB / 0.6888 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01132/0.7429, allocations: 2.281 MB / 0.691 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003808/0.7468, allocations: 0.8893 MB / 0.6919 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02642/0.7732, allocations: 18.4 MB / 0.7099 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003513/0.7767, allocations: 140 kB / 0.71 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009191/0.7777, allocations: 227.9 kB / 0.7102 GB, free: 6.047 MB / 0.545 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.00224/0.7799, allocations: 0.6146 MB / 0.7108 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/0.7812, allocations: 286.1 kB / 0.7111 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2255/1.007, allocations: 6.575 MB / 0.7175 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000188/1.007, allocations: 20.62 kB / 0.7175 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.007, allocations: 3.125 kB / 0.7175 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/1.009, allocations: 0.7094 MB / 0.7182 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007469/1.01, allocations: 76.02 kB / 0.7183 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.012, allocations: 93.14 kB / 0.7184 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008451/1.013, allocations: 340.1 kB / 0.7187 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01562/1.029, allocations: 5.564 MB / 0.7241 GB, free: 183.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0118/1.04, allocations: 6.766 MB / 0.7308 GB, free: 180.5 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003396/1.044, allocations: 1.962 MB / 0.7327 GB, free: 179.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001575/1.045, allocations: 1.121 MB / 0.7338 GB, free: 179.3 MB / 0.545 GB Notification: Performance of Backend: time 6.71e-07/1.045, allocations: 1.719 kB / 0.7338 GB, free: 179.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0157/1.061, allocations: 7.011 MB / 0.7406 GB, free: 177.1 MB / 0.545 GB Notification: Performance of SimCode: time 0.008623/1.07, allocations: 6.626 MB / 0.7471 GB, free: 173.8 MB / 0.545 GB Notification: Performance of Templates: time 0.117/1.187, allocations: 94.59 MB / 0.8395 GB, free: 87.88 MB / 0.545 GB make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.makefile (rm -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1)