Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.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.0008141/0.0008141, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008217/0.0008217, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8216/0.8216, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.07642/0.07642, allocations: 17.44 MB / 277.4 MB, free: 11.75 MB / 266.7 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.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 412.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.045e-05, allocations: 3.156 kB / 412.9 MB, free: 12.42 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.Dev.RedCellMembrane): time 0.0324/0.03243, allocations: 47.21 MB / 460.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07388/0.1063, allocations: 106.1 MB / 0.5529 GB, free: 15.66 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004129/0.1104, allocations: 95.25 kB / 0.553 GB, free: 15.57 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003539/0.114, allocations: 2.178 MB / 0.5551 GB, free: 13.37 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01914/0.1331, allocations: 10.54 MB / 0.5654 GB, free: 2.758 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02655/0.1597, allocations: 16.23 MB / 0.5813 GB, free: 2.426 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.1723/0.3319, allocations: 10.87 MB / 0.5919 GB, free: 24.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004553/0.3365, allocations: 4.644 MB / 0.5964 GB, free: 24 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006031/0.3425, allocations: 7.401 MB / 0.6037 GB, free: 24 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.3467, allocations: 4.855 MB / 0.6084 GB, free: 23.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000821/0.3476, allocations: 0.8853 MB / 0.6093 GB, free: 23.86 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01931/0.3669, allocations: 13.15 MB / 0.6221 GB, free: 23.35 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009933/0.3679, allocations: 2.169 MB / 0.6242 GB, free: 23.06 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002402/0.3703, allocations: 3.365 MB / 0.6275 GB, free: 22.76 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03571/0.406, allocations: 26.61 MB / 0.6535 GB, free: 16.22 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.406, allocations: 2.531 kB / 0.6535 GB, free: 16.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.406, allocations: 4 kB / 0.6535 GB, free: 16.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003914/0.4064, allocations: 0 / 0.6535 GB, free: 16.21 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1818 * Number of variables: 1818 Notification: Performance of Generate backend data structure: time 0.01564/0.422, allocations: 10.54 MB / 0.6638 GB, free: 5.695 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.422, allocations: 12.03 kB / 0.6638 GB, free: 5.684 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/0.4273, allocations: 1.943 MB / 0.6657 GB, free: 3.738 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.431, allocations: 3.529 MB / 0.6691 GB, free: 412 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005174/0.4315, allocations: 0.5774 MB / 0.6697 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.4326, allocations: 0.7481 MB / 0.6704 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.4427, allocations: 9.21 MB / 0.6794 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.602e-05/0.4428, allocations: 3.75 kB / 0.6794 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005224/0.4433, allocations: 288.4 kB / 0.6797 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/0.4434, allocations: 179.9 kB / 0.6799 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.4559, allocations: 12.58 MB / 0.6922 GB, free: 8.711 MB / 0.5105 GB 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.02674/0.4827, allocations: 24.07 MB / 0.7157 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01901/0.5017, allocations: 17.12 MB / 0.7324 GB, free: 160 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004226/0.5059, allocations: 4.097 MB / 0.7364 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02753/0.5334, allocations: 19.51 MB / 0.7555 GB, free: 8.871 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.5335, allocations: 91.12 kB / 0.7555 GB, free: 8.77 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001483/0.535, allocations: 0.6318 MB / 0.7562 GB, free: 8.145 MB / 0.573 GB Notification: Performance of pre-optimization done (n=581): time 9.648e-06/0.535, allocations: 7.453 kB / 0.7562 GB, free: 8.141 MB / 0.573 GB Notification: Performance of matching and sorting (n=757): time 0.06018/0.5951, allocations: 35.24 MB / 0.7906 GB, free: 5.203 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.5952, allocations: 129.3 kB / 0.7907 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/0.5985, allocations: 3.282 MB / 0.7939 GB, free: 1.758 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003104/0.5988, allocations: 149.7 kB / 0.794 GB, free: 1.605 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.2781/0.8769, allocations: 3.22 MB / 0.7972 GB, free: 240.4 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002259/0.8792, allocations: 2.678 MB / 0.7998 GB, free: 239 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00174/0.8809, allocations: 1.695 MB / 0.8015 GB, free: 238.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 2.74e-05/0.8809, allocations: 301.9 kB / 0.8017 GB, free: 238.6 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/0.8844, allocations: 2.867 MB / 0.8045 GB, free: 238.6 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004552/0.8889, allocations: 5.747 MB / 0.8102 GB, free: 235.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008829/0.8978, allocations: 9.508 MB / 0.8194 GB, free: 228.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.447e-05/0.8978, allocations: 26.62 kB / 0.8195 GB, free: 228.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.01379/0.9116, allocations: 10.7 MB / 0.8299 GB, free: 224 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.9117, allocations: 41.94 kB / 0.83 GB, free: 224 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.377e-05/0.9117, allocations: 90.44 kB / 0.83 GB, free: 224 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003985/0.9157, allocations: 1.815 MB / 0.8318 GB, free: 223.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004604/0.9203, allocations: 2.315 MB / 0.8341 GB, free: 223.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008889/0.9292, allocations: 12.09 MB / 0.8459 GB, free: 214.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/0.9325, allocations: 293 kB / 0.8462 GB, free: 213.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005007/0.933, allocations: 0.5162 MB / 0.8467 GB, free: 213.8 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * 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 (1143): * Single equations (assignments): 1137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,20,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,27), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002161/0.9352, allocations: 1.204 MB / 0.8478 GB, free: 213 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006874/0.9358, allocations: 0.5769 MB / 0.8484 GB, free: 212.7 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.9476, allocations: 10.1 MB / 0.8583 GB, free: 208.8 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.9476, allocations: 81.84 kB / 0.8583 GB, free: 208.8 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.9476, allocations: 6.188 kB / 0.8584 GB, free: 208.8 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-05/0.9477, allocations: 39.19 kB / 0.8584 GB, free: 208.8 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.9628, allocations: 14.6 MB / 0.8726 GB, free: 198.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.9629, allocations: 6.625 kB / 0.8727 GB, free: 198.6 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003354/0.9662, allocations: 1.525 MB / 0.8741 GB, free: 197.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003494/0.9697, allocations: 1.599 MB / 0.8757 GB, free: 196.1 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002941/0.97, allocations: 264.4 kB / 0.876 GB, free: 195.9 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007059/0.9771, allocations: 11.34 MB / 0.887 GB, free: 184.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9771, allocations: 7.938 kB / 0.887 GB, free: 184.6 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.9893, allocations: 12.95 MB / 0.8997 GB, free: 172.6 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/0.9909, allocations: 1.247 MB / 0.9009 GB, free: 171.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004286/0.9913, allocations: 154.5 kB / 0.901 GB, free: 171.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.9927, allocations: 151.8 kB / 0.9012 GB, free: 171.3 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005456/0.9933, allocations: 0.604 MB / 0.9018 GB, free: 170.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003259/0.9936, allocations: 314.1 kB / 0.9021 GB, free: 170.7 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.001474/0.9951, allocations: 1.86 MB / 0.9039 GB, free: 169.1 MB / 0.6043 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9951, allocations: 4 kB / 0.9039 GB, free: 169.1 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.008315/1.003, allocations: 5.101 MB / 0.9089 GB, free: 165 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 34 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,HCO3.logn,H2O.logn,HCO3_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,albumin.logn,permeableUncharged.logn,permeableUncharged_E.logn,chargedImpermeable_E.logn,Lac_E.logn,Lac.logn,H_E.logn,H.logn,CO2.logn,CO2_E.logn,O2.logn,O2_E.logn,K.logn,Na.logn,Na_E.logn,K_E.logn,H2PO4_E.logn,ADP_E.logn,ATP_E.logn,HPO4_E.logn,globulins.logn,Ca.logn,Mg.logn,DPG.logn,GSH.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 (761): * Single equations (assignments): 755 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,20,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,33), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005968/1.009, allocations: 5.936 MB / 0.9147 GB, free: 160.9 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.008314/1.018, allocations: 8.408 MB / 0.9229 GB, free: 152.6 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.018, allocations: 0 / 0.9229 GB, free: 152.6 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.003559/1.021, allocations: 4.485 MB / 0.9273 GB, free: 148.1 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/1.024, allocations: 1.17 MB / 0.9284 GB, free: 147 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/1.035, allocations: 12.74 MB / 0.9409 GB, free: 134.2 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/1.036, allocations: 2.708 MB / 0.9435 GB, free: 131.6 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/1.038, allocations: 1.449 MB / 0.9449 GB, free: 130.1 MB / 0.6043 GB Notification: Performance of SimCode: time 7.61e-07/1.038, allocations: 4 kB / 0.9449 GB, free: 130.1 MB / 0.6043 GB Notification: Performance of Templates: time 0.3046/1.343, allocations: 291.1 MB / 1.229 GB, free: 106.4 MB / 0.6043 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.330335372127593] Failed to read output from testmodel.py, exit status != 0: 1.476503332145512 1.354371229 0.946988641 Calling exit ...