Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0009432/0.0009432, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009598/0.0009598, allocations: 169 kB / 23.27 MB, free: 1.223 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.9354/0.9354, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.09246/0.09246, allocations: 17.39 MB / 277.6 MB, free: 11.49 MB / 266.7 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.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 353.9 MB, free: 9.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.689e-05, allocations: 2.312 kB / 353.9 MB, free: 9.645 MB / 282.7 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.Dev.RedCellMembrane): time 0.0379/0.03792, allocations: 53.17 MB / 407.1 MB, free: 4.523 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2274/0.2654, allocations: 118.7 MB / 0.5135 GB, free: 13.41 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005064/0.2704, allocations: 103.2 kB / 0.5135 GB, free: 13.31 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005989/0.2764, allocations: 2.19 MB / 0.5157 GB, free: 11.11 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02547/0.3019, allocations: 10.54 MB / 0.526 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03774/0.3396, allocations: 16.26 MB / 0.5419 GB, free: 400 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01469/0.3543, allocations: 10.89 MB / 0.5525 GB, free: 5.457 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006681/0.361, allocations: 4.803 MB / 0.5572 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1829/0.5439, allocations: 7.391 MB / 0.5644 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/0.554, allocations: 4.907 MB / 0.5692 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003465/0.5574, allocations: 0.8865 MB / 0.5701 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03213/0.5896, allocations: 13.14 MB / 0.5829 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003331/0.5929, allocations: 2.168 MB / 0.585 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006081/0.599, allocations: 3.368 MB / 0.5883 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05248/0.6515, allocations: 23.32 MB / 0.6111 GB, free: 8.965 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.6515, allocations: 0.8438 kB / 0.6111 GB, free: 8.965 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6515, allocations: 0 / 0.6111 GB, free: 8.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004208/0.6519, allocations: 0.5312 kB / 0.6111 GB, free: 8.965 MB / 426.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.01969/0.6716, allocations: 10.84 MB / 0.6217 GB, free: 1.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6716, allocations: 11.5 kB / 0.6217 GB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.6818, allocations: 3.253 MB / 0.6249 GB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006854/0.6886, allocations: 3.551 MB / 0.6283 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005217/0.6891, allocations: 0.5771 MB / 0.6289 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/0.6907, allocations: 0.7418 MB / 0.6296 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.7017, allocations: 6.613 MB / 0.6361 GB, free: 7.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.7018, allocations: 3.375 kB / 0.6361 GB, free: 7.418 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006613/0.7025, allocations: 288.9 kB / 0.6363 GB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.7026, allocations: 175.9 kB / 0.6365 GB, free: 7.188 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.7141, allocations: 7.205 MB / 0.6435 GB, free: 412 kB / 442.7 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.03574/0.7499, allocations: 23.09 MB / 0.6661 GB, free: 10.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/0.7722, allocations: 19.93 MB / 0.6856 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004467/0.7766, allocations: 2.25 MB / 0.6877 GB, free: 4.215 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03094/0.8076, allocations: 18.83 MB / 0.7061 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.408e-05/0.8076, allocations: 93.95 kB / 0.7062 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00204/0.8097, allocations: 0.6202 MB / 0.7068 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=581): time 2.314e-05/0.8097, allocations: 0 / 0.7068 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of matching and sorting (n=757): time 0.05037/0.8601, allocations: 23.36 MB / 0.7296 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.8601, allocations: 129.3 kB / 0.7298 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/0.863, allocations: 3.25 MB / 0.7329 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005013/0.8635, allocations: 153.1 kB / 0.7331 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.8654, allocations: 3.369 MB / 0.7364 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001892/0.8673, allocations: 2.698 MB / 0.739 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1921/1.059, allocations: 1.744 MB / 0.7407 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/1.06, allocations: 477.8 kB / 0.7412 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003293/1.063, allocations: 1.331 MB / 0.7425 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004881/1.068, allocations: 5.403 MB / 0.7478 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.078, allocations: 7.94 MB / 0.7555 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/1.078, allocations: 25.12 kB / 0.7555 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.01552/1.093, allocations: 7.953 MB / 0.7633 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-05/1.094, allocations: 43.66 kB / 0.7633 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/1.094, allocations: 93.94 kB / 0.7634 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006764/1.1, allocations: 1.85 MB / 0.7652 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007839/1.108, allocations: 2.254 MB / 0.7674 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/1.119, allocations: 13.03 MB / 0.7802 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/1.125, allocations: 288.8 kB / 0.7804 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/1.126, allocations: 455.6 kB / 0.7809 GB, free: 108.3 MB / 0.5261 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.002572/1.129, allocations: 0.7397 MB / 0.7816 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001774/1.131, allocations: 0.8093 MB / 0.7824 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/1.144, allocations: 7.343 MB / 0.7896 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-05/1.144, allocations: 83.83 kB / 0.7896 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.318e-05/1.144, allocations: 1.906 kB / 0.7896 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/1.144, allocations: 38.11 kB / 0.7897 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/1.162, allocations: 10.73 MB / 0.8001 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/1.162, allocations: 7.219 kB / 0.8002 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004002/1.166, allocations: 1.462 MB / 0.8016 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005036/1.171, allocations: 1.654 MB / 0.8032 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001182/1.172, allocations: 263.2 kB / 0.8034 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007617/1.179, allocations: 12.5 MB / 0.8157 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.179, allocations: 7.656 kB / 0.8157 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/1.193, allocations: 8.282 MB / 0.8238 GB, free: 93.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002743/1.195, allocations: 1.231 MB / 0.825 GB, free: 92.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008169/1.196, allocations: 148.8 kB / 0.8251 GB, free: 92.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.198, allocations: 144.9 kB / 0.8252 GB, free: 92.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007385/1.199, allocations: 0.613 MB / 0.8258 GB, free: 92.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004814/1.199, allocations: 266.4 kB / 0.8261 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001358/1.201, allocations: 1.517 MB / 0.8276 GB, free: 91.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/1.201, allocations: 0 / 0.8276 GB, free: 91.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0134/1.214, allocations: 5.102 MB / 0.8325 GB, free: 87.46 MB / 0.5261 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.01136/1.225, allocations: 6.245 MB / 0.8386 GB, free: 83.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009179/1.235, allocations: 6.284 MB / 0.8448 GB, free: 78.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.235, allocations: 0 / 0.8448 GB, free: 78.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003964/1.239, allocations: 3.623 MB / 0.8483 GB, free: 75.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003988/1.243, allocations: 1.327 MB / 0.8496 GB, free: 74.39 MB / 0.5261 GB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.257, allocations: 11.33 MB / 0.8607 GB, free: 63.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008377/1.258, allocations: 1.082 MB / 0.8617 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004909/1.263, allocations: 1.635 MB / 0.8633 GB, free: 60.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003423/1.266, allocations: 2.184 MB / 0.8655 GB, free: 58.41 MB / 0.5261 GB Notification: Performance of SimCode: time 2.485e-06/1.266, allocations: 0 / 0.8655 GB, free: 58.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.3338/1.6, allocations: 191.3 MB / 1.052 GB, free: 32.84 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.687172583304346]