Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_blood.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.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001212/0.001213, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07691/0.07691, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 64.12 kB / 425.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.09666, allocations: 53.61 MB / 479.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_blood): time 0.008074/0.1048, allocations: 6.96 MB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0244/0.1292, allocations: 21.76 MB / 0.4963 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009317/0.1301, allocations: 15.94 kB / 0.4963 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1316, allocations: 460.7 kB / 0.4967 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004433/0.1361, allocations: 1.661 MB / 0.4983 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007321/0.1434, allocations: 2.819 MB / 0.5011 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002666/0.1461, allocations: 1.822 MB / 0.5029 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.1474, allocations: 0.9215 MB / 0.5038 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.1486, allocations: 0.8611 MB / 0.5046 GB, free: 460 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.209/0.3576, allocations: 0.9367 MB / 0.5055 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004764/0.3581, allocations: 152.9 kB / 0.5057 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008418/0.3665, allocations: 2.318 MB / 0.5079 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.367, allocations: 360.8 kB / 0.5083 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.3681, allocations: 0.7881 MB / 0.5091 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007851/0.3759, allocations: 4.142 MB / 0.5131 GB, free: 7.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.376, allocations: 4.125 kB / 0.5131 GB, free: 7.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.376, allocations: 0 / 0.5131 GB, free: 7.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.733e-05/0.376, allocations: 0 / 0.5131 GB, free: 7.238 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.003982/0.38, allocations: 2.072 MB / 0.5151 GB, free: 6.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.38, allocations: 9.125 kB / 0.5151 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.3818, allocations: 379.7 kB / 0.5155 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.3831, allocations: 0.7484 MB / 0.5162 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/0.3832, allocations: 95.75 kB / 0.5163 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.3834, allocations: 129 kB / 0.5164 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.3865, allocations: 1.759 MB / 0.5182 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.3866, allocations: 3.938 kB / 0.5182 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.3867, allocations: 48.59 kB / 0.5182 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.3868, allocations: 30.44 kB / 0.5182 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00361/0.3904, allocations: 2.486 MB / 0.5207 GB, free: 5.656 MB / 382.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.008059/0.3984, allocations: 5.084 MB / 0.5256 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.4016, allocations: 2.248 MB / 0.5278 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.4023, allocations: 0.5496 MB / 0.5284 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006381/0.4087, allocations: 5.315 MB / 0.5336 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.4087, allocations: 45.55 kB / 0.5336 GB, free: 13.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 2.255e-06/0.4087, allocations: 4 kB / 0.5336 GB, free: 13.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.01392/0.4227, allocations: 3.359 MB / 0.5369 GB, free: 12.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.4227, allocations: 64.8 kB / 0.5369 GB, free: 12.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.4241, allocations: 1.292 MB / 0.5382 GB, free: 11.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.4242, allocations: 38.55 kB / 0.5382 GB, free: 11.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.4246, allocations: 0.6884 MB / 0.5389 GB, free: 10.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.4249, allocations: 325.1 kB / 0.5392 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003611/0.4253, allocations: 290 kB / 0.5395 GB, free: 10.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4254, allocations: 351.4 kB / 0.5398 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007489/0.4262, allocations: 0.5135 MB / 0.5403 GB, free: 9.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.4273, allocations: 1.001 MB / 0.5413 GB, free: 9.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.429, allocations: 1.433 MB / 0.5427 GB, free: 7.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.429, allocations: 3.188 kB / 0.5427 GB, free: 7.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004543/0.4336, allocations: 1.914 MB / 0.5446 GB, free: 6.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.4336, allocations: 18.09 kB / 0.5446 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.4337, allocations: 16 kB / 0.5446 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/0.4357, allocations: 245.6 kB / 0.5449 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.4368, allocations: 348.1 kB / 0.5452 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005636/0.4424, allocations: 3.866 MB / 0.549 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.4436, allocations: 48 kB / 0.549 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.4437, allocations: 83.97 kB / 0.5491 GB, free: 1.402 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006151/0.4443, allocations: 291.9 kB / 0.5494 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.4446, allocations: 106.7 kB / 0.5495 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/0.4486, allocations: 1.241 MB / 0.5507 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.4486, allocations: 14.58 kB / 0.5507 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4486, allocations: 0 / 0.5507 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.4489, allocations: 171.7 kB / 0.5509 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.4491, allocations: 16 kB / 0.5509 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/0.4497, allocations: 23.98 kB / 0.5509 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.4498, allocations: 68.91 kB / 0.551 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002931/0.4528, allocations: 1.032 MB / 0.552 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002052/0.4548, allocations: 1.393 MB / 0.5533 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005376/0.4554, allocations: 359.8 kB / 0.5537 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.4565, allocations: 0.9101 MB / 0.5546 GB, free: 11.77 MB / 414.1 MB Notification: Performance of Backend: time 2.21e-07/0.4565, allocations: 0 / 0.5546 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005734/0.4622, allocations: 2.409 MB / 0.5569 GB, free: 9.539 MB / 414.1 MB Notification: Performance of SimCode: time 0.003563/0.4658, allocations: 2.513 MB / 0.5594 GB, free: 7.008 MB / 414.1 MB Notification: Performance of Templates: time 0.05004/0.5159, allocations: 33.31 MB / 0.5919 GB, free: 5.879 MB / 446.1 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility_blood.makefile (rm -f Chemical_Chemical.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_blood.pipe 2>&1)