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.001332/0.001332, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00171/0.00171, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1395/0.1395, allocations: 23.87 MB / 337 MB, free: 10.98 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.002089/0.002089, allocations: 67.89 kB / 472.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3369, allocations: 59.87 MB / 0.5198 GB, free: 9.816 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.07915/0.416, allocations: 33.26 MB / 0.5522 GB, free: 6.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05883/0.4748, allocations: 41.75 MB / 0.593 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.478, allocations: 51.56 kB / 0.5931 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003248/0.4812, allocations: 0.9264 MB / 0.594 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.4939, allocations: 3.705 MB / 0.5976 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01805/0.5119, allocations: 6.493 MB / 0.6039 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00731/0.5193, allocations: 4.539 MB / 0.6084 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003466/0.5227, allocations: 2.254 MB / 0.6106 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003747/0.5265, allocations: 2.288 MB / 0.6128 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/0.5316, allocations: 2.617 MB / 0.6154 GB, free: 7.727 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00135/0.5329, allocations: 420 kB / 0.6158 GB, free: 7.316 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01458/0.5475, allocations: 5.152 MB / 0.6208 GB, free: 2.156 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001539/0.549, allocations: 1.001 MB / 0.6218 GB, free: 1.152 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002392/0.5514, allocations: 1.732 MB / 0.6235 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02148/0.5729, allocations: 10.19 MB / 0.6334 GB, free: 5.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5729, allocations: 0 / 0.6334 GB, free: 5.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5729, allocations: 0 / 0.6334 GB, free: 5.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.325e-05/0.573, allocations: 0 / 0.6334 GB, free: 5.18 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.01095/0.584, allocations: 4.765 MB / 0.6381 GB, free: 364 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.584, allocations: 8.031 kB / 0.6381 GB, free: 356 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004057/0.5881, allocations: 0.8449 MB / 0.6389 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/0.5916, allocations: 1.624 MB / 0.6405 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.5919, allocations: 349.7 kB / 0.6408 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006786/0.5926, allocations: 332.2 kB / 0.6411 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008226/0.6008, allocations: 4.543 MB / 0.6456 GB, free: 8.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.275e-05/0.6009, allocations: 4 kB / 0.6456 GB, free: 8.523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003491/0.6012, allocations: 124 kB / 0.6457 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/0.6013, allocations: 76 kB / 0.6458 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.6124, allocations: 6.173 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.03166/0.644, allocations: 11.65 MB / 0.6632 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01511/0.6591, allocations: 5.313 MB / 0.6684 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004239/0.6634, allocations: 2.059 MB / 0.6704 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02156/0.6849, allocations: 9.104 MB / 0.6793 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.659e-05/0.685, allocations: 60.73 kB / 0.6793 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002286/0.6873, allocations: 461.9 kB / 0.6798 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 7.825e-06/0.6873, allocations: 4 kB / 0.6798 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.1013/0.7885, allocations: 23.35 MB / 0.7026 GB, free: 13.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/0.7886, allocations: 90.45 kB / 0.7027 GB, free: 13.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.7909, allocations: 1.637 MB / 0.7043 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007194/0.7916, allocations: 85.7 kB / 0.7043 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.7927, allocations: 1.366 MB / 0.7057 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002041/0.7947, allocations: 1.375 MB / 0.707 GB, free: 9.219 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/0.7962, allocations: 0.7798 MB / 0.7078 GB, free: 8.426 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7964, allocations: 305.1 kB / 0.7081 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003431/0.7998, allocations: 1.839 MB / 0.7099 GB, free: 6.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004689/0.8045, allocations: 2.85 MB / 0.7126 GB, free: 2.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008766/0.8133, allocations: 4.967 MB / 0.7175 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.168e-05/0.8133, allocations: 11.94 kB / 0.7175 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02118/0.8345, allocations: 6.829 MB / 0.7242 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.8345, allocations: 16 kB / 0.7242 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.554e-05/0.8346, allocations: 32 kB / 0.7242 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01245/0.847, allocations: 2.288 MB / 0.7265 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003925/0.8509, allocations: 0.901 MB / 0.7273 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2455/1.096, allocations: 17.38 MB / 0.7443 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003437/1.1, allocations: 143 kB / 0.7444 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006092/1.101, allocations: 231.1 kB / 0.7447 GB, free: 162.2 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.001489/1.102, allocations: 0.6047 MB / 0.7453 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008059/1.103, allocations: 276.2 kB / 0.7455 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01868/1.121, allocations: 6.559 MB / 0.7519 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.714e-05/1.122, allocations: 44.92 kB / 0.752 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-05/1.122, allocations: 6 kB / 0.752 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001176/1.122, allocations: 20.34 kB / 0.752 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02515/1.147, allocations: 9.761 MB / 0.7615 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-05/1.147, allocations: 3.531 kB / 0.7615 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/1.15, allocations: 0.6565 MB / 0.7622 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0106/1.161, allocations: 2.021 MB / 0.7641 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008727/1.162, allocations: 134.5 kB / 0.7643 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01998/1.182, allocations: 16.02 MB / 0.7799 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.182, allocations: 10.56 kB / 0.7799 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/1.201, allocations: 8.493 MB / 0.7882 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/1.202, allocations: 0.6252 MB / 0.7888 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007491/1.203, allocations: 81.16 kB / 0.7889 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002382/1.205, allocations: 101.9 kB / 0.789 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007704/1.206, allocations: 354.3 kB / 0.7893 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004173/1.207, allocations: 155.4 kB / 0.7895 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001168/1.208, allocations: 1.033 MB / 0.7905 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.208, allocations: 0 / 0.7905 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005977/1.214, allocations: 2.202 MB / 0.7927 GB, free: 135.8 MB / 0.5606 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.004418/1.218, allocations: 2.253 MB / 0.7949 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009529/1.228, allocations: 5.604 MB / 0.8003 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.228, allocations: 0 / 0.8003 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005496/1.233, allocations: 3.348 MB / 0.8036 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/1.236, allocations: 0.542 MB / 0.8041 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/1.246, allocations: 6.764 MB / 0.8107 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.247, allocations: 1.336 MB / 0.812 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002591/1.25, allocations: 0.6578 MB / 0.8127 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.251, allocations: 451.1 kB / 0.8131 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.893e-06/1.251, allocations: 0 / 0.8131 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.1034/1.354, allocations: 91.62 MB / 0.9026 GB, free: 25.21 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 40.15722903399728] Failed to read output from testmodel.py, exit status != 0: 1.3635590670019155 1.373171785 0.797710978 Calling exit ...