Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.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.001303/0.001303, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001471/0.001471, allocations: 205.6 kB / 23 MB, free: 4.934 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1385/0.1385, allocations: 23.92 MB / 337.1 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: translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") [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.002055/0.002055, allocations: 71.89 kB / 472.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2987, allocations: 59.87 MB / 0.5198 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.0069/0.3056, allocations: 6.757 MB / 0.5264 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02636/0.332, allocations: 20.57 MB / 0.5465 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.3333, allocations: 24.34 kB / 0.5466 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.3347, allocations: 445.6 kB / 0.547 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006195/0.3409, allocations: 1.924 MB / 0.5489 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008514/0.3494, allocations: 2.975 MB / 0.5518 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003045/0.3524, allocations: 2.127 MB / 0.5538 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.3538, allocations: 1.031 MB / 0.5548 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.355, allocations: 1.093 MB / 0.5559 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.3567, allocations: 1.234 MB / 0.5571 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003024/0.357, allocations: 192.6 kB / 0.5573 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006673/0.3637, allocations: 2.45 MB / 0.5597 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005472/0.3642, allocations: 488.2 kB / 0.5602 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.3653, allocations: 0.8045 MB / 0.5609 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.3762, allocations: 4.838 MB / 0.5657 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3762, allocations: 0 / 0.5657 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3762, allocations: 0 / 0.5657 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.8e-05/0.3762, allocations: 4 kB / 0.5657 GB, free: 10.61 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.004848/0.3811, allocations: 2.365 MB / 0.568 GB, free: 8.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3811, allocations: 12.03 kB / 0.568 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.3829, allocations: 403 kB / 0.5684 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.3846, allocations: 0.8476 MB / 0.5692 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.3848, allocations: 218.3 kB / 0.5694 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/0.3851, allocations: 156.3 kB / 0.5696 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003441/0.3885, allocations: 2.052 MB / 0.5716 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.3886, allocations: 8 kB / 0.5716 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.3887, allocations: 59.94 kB / 0.5716 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.3888, allocations: 32 kB / 0.5717 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.3931, allocations: 2.717 MB / 0.5743 GB, free: 1.621 MB / 414.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.01119/0.4043, allocations: 5.392 MB / 0.5796 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005396/0.4097, allocations: 2.802 MB / 0.5823 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.4111, allocations: 0.8051 MB / 0.5831 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009043/0.4201, allocations: 3.974 MB / 0.587 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.4202, allocations: 51.55 kB / 0.587 GB, free: 4.48 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009331/0.4211, allocations: 191.1 kB / 0.5872 GB, free: 4.293 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.556e-06/0.4211, allocations: 0 / 0.5872 GB, free: 4.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.0203/0.4414, allocations: 5.178 MB / 0.5923 GB, free: 15.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.4415, allocations: 68.66 kB / 0.5923 GB, free: 14.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.4428, allocations: 1.009 MB / 0.5933 GB, free: 13.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.4429, allocations: 49.7 kB / 0.5934 GB, free: 13.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005704/0.4435, allocations: 0.7031 MB / 0.5941 GB, free: 13.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004985/0.444, allocations: 0.4958 MB / 0.5945 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005448/0.4446, allocations: 331.4 kB / 0.5949 GB, free: 12.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4447, allocations: 353.9 kB / 0.5952 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.4459, allocations: 0.6559 MB / 0.5958 GB, free: 11.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.4476, allocations: 1.115 MB / 0.5969 GB, free: 10.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.4506, allocations: 1.819 MB / 0.5987 GB, free: 8.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.4506, allocations: 4 kB / 0.5987 GB, free: 8.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006825/0.4574, allocations: 2.4 MB / 0.6011 GB, free: 5.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.4574, allocations: 12 kB / 0.6011 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.4574, allocations: 20.06 kB / 0.6011 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/0.4602, allocations: 497.9 kB / 0.6016 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4618, allocations: 423.4 kB / 0.602 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/0.4677, allocations: 3.595 MB / 0.6055 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.469, allocations: 56 kB / 0.6055 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.4692, allocations: 95.95 kB / 0.6056 GB, free: 0.7422 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0006588/0.4698, allocations: 333.2 kB / 0.6059 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.4701, allocations: 119.2 kB / 0.606 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006477/0.4766, allocations: 2.128 MB / 0.6081 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.4766, allocations: 3.984 kB / 0.6081 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4766, allocations: 0 / 0.6081 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.4769, allocations: 115.2 kB / 0.6082 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.477, allocations: 27.94 kB / 0.6083 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006965/0.4777, allocations: 32 kB / 0.6083 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/0.478, allocations: 125.1 kB / 0.6084 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004629/0.4827, allocations: 1.741 MB / 0.6101 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003997/0.4867, allocations: 2.396 MB / 0.6125 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001053/0.4877, allocations: 0.6075 MB / 0.6131 GB, free: 9.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008839/0.4886, allocations: 0.6825 MB / 0.6137 GB, free: 8.383 MB / 462.1 MB Notification: Performance of Backend: time 4.11e-07/0.4886, allocations: 3.938 kB / 0.6137 GB, free: 8.379 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006319/0.4949, allocations: 2.689 MB / 0.6163 GB, free: 5.656 MB / 462.1 MB Notification: Performance of SimCode: time 0.004383/0.4993, allocations: 2.916 MB / 0.6192 GB, free: 2.688 MB / 462.1 MB Notification: Performance of Templates: time 0.06802/0.5673, allocations: 43.25 MB / 0.6614 GB, free: 7.609 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.969721165951341] Failed to read output from testmodel.py, exit status != 0: 0.575959274021443 0.5915618899999999 0.21204141799999995 Calling exit ...