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.0009141/0.0009141, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.002009, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007349/0.0007349, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009892/0.001724, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.944/0.944, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08878/1.033, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.09901/0.09901, allocations: 17.37 MB / 261.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0116/0.1106, allocations: 6.929 MB / 268.4 MB, free: 6.406 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.303e-06/1.303e-06, allocations: 3.938 kB / 269.8 MB, free: 5.074 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.224e-05, allocations: 2.312 kB / 269.8 MB, free: 5.07 MB / 266.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.1515/0.1515, allocations: 29.83 MB / 299.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.09093/0.2424, allocations: 121.3 MB / 420.9 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005394/0.2478, allocations: 99.25 kB / 421 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0059/0.2537, allocations: 2.225 MB / 423.2 MB, free: 8.574 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1908/0.4445, allocations: 10.35 MB / 433.6 MB, free: 5.547 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03588/0.4804, allocations: 16.13 MB / 449.7 MB, free: 3.512 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01225/0.4926, allocations: 10.79 MB / 460.5 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006734/0.4993, allocations: 4.869 MB / 465.4 MB, free: 372 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01226/0.5116, allocations: 7.827 MB / 473.2 MB, free: 15.72 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007468/0.5191, allocations: 4.842 MB / 478.1 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003481/0.5226, allocations: 0.8873 MB / 478.9 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03056/0.5531, allocations: 13.74 MB / 492.7 MB, free: 13.51 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003078/0.5562, allocations: 1.461 MB / 494.1 MB, free: 13.22 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007711/0.5639, allocations: 2.568 MB / 496.7 MB, free: 11.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04757/0.6115, allocations: 21.18 MB / 0.5058 GB, free: 8.406 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.6115, allocations: 0 / 0.5058 GB, free: 8.406 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6115, allocations: 0 / 0.5058 GB, free: 8.406 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00021/0.6117, allocations: 0 / 0.5058 GB, free: 8.406 MB / 442.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.01643/0.6281, allocations: 13.86 MB / 0.5193 GB, free: 10.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.6282, allocations: 8.031 kB / 0.5193 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00692/0.6351, allocations: 3.159 MB / 0.5224 GB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004836/0.6399, allocations: 2.685 MB / 0.525 GB, free: 5.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003989/0.6403, allocations: 0.5803 MB / 0.5256 GB, free: 4.676 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/0.6418, allocations: 0.7364 MB / 0.5263 GB, free: 3.949 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008544/0.6503, allocations: 6.663 MB / 0.5328 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-05/0.6504, allocations: 7.375 kB / 0.5328 GB, free: 13.44 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005193/0.6509, allocations: 289.7 kB / 0.5331 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.391e-05/0.651, allocations: 176 kB / 0.5333 GB, free: 12.99 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007951/0.659, allocations: 6.316 MB / 0.5394 GB, free: 6.672 MB / 474.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.03014/0.6891, allocations: 18.35 MB / 0.5573 GB, free: 5.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02053/0.7096, allocations: 19.08 MB / 0.576 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/0.7132, allocations: 1.963 MB / 0.5779 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02982/0.743, allocations: 16.2 MB / 0.5937 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.825e-05/0.743, allocations: 95.12 kB / 0.5938 GB, free: 104 kB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001601/0.7446, allocations: 0.6225 MB / 0.5944 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=581): time 1.583e-05/0.7447, allocations: 0 / 0.5944 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=732): time 0.3863/1.131, allocations: 31.28 MB / 0.625 GB, free: 121.8 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/1.131, allocations: 126.8 kB / 0.6251 GB, free: 121.7 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/1.133, allocations: 2.996 MB / 0.628 GB, free: 121.4 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005066/1.134, allocations: 148.1 kB / 0.6281 GB, free: 121.4 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/1.135, allocations: 2.767 MB / 0.6308 GB, free: 120.3 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/1.137, allocations: 2.633 MB / 0.6334 GB, free: 118.9 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/1.138, allocations: 1.676 MB / 0.6351 GB, free: 118.8 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 2.96e-05/1.138, allocations: 301.1 kB / 0.6353 GB, free: 118.5 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/1.14, allocations: 1.118 MB / 0.6364 GB, free: 118.5 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002421/1.142, allocations: 4.024 MB / 0.6404 GB, free: 115.1 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006031/1.148, allocations: 6.841 MB / 0.647 GB, free: 111.7 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.244e-05/1.148, allocations: 24.66 kB / 0.6471 GB, free: 111.7 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.01036/1.159, allocations: 6.098 MB / 0.653 GB, free: 111.4 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/1.159, allocations: 46.75 kB / 0.6531 GB, free: 111.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.43e-05/1.159, allocations: 97.53 kB / 0.6532 GB, free: 111.4 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005406/1.164, allocations: 1.856 MB / 0.655 GB, free: 111.3 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006171/1.17, allocations: 2.706 MB / 0.6576 GB, free: 111.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006699/1.177, allocations: 9.319 MB / 0.6667 GB, free: 104.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004617/1.182, allocations: 285.9 kB / 0.667 GB, free: 104.3 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/1.183, allocations: 435.3 kB / 0.6674 GB, free: 104.3 MB / 0.5262 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 (1118): * Single equations (assignments): 1112 * 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.00187/1.185, allocations: 0.6906 MB / 0.6681 GB, free: 104.2 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009509/1.185, allocations: 0.5444 MB / 0.6686 GB, free: 104.2 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00798/1.193, allocations: 5.923 MB / 0.6744 GB, free: 103.6 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/1.193, allocations: 74.91 kB / 0.6745 GB, free: 103.6 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/1.194, allocations: 3 kB / 0.6745 GB, free: 103.6 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.232e-05/1.194, allocations: 38.31 kB / 0.6745 GB, free: 103.6 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/1.205, allocations: 8.276 MB / 0.6826 GB, free: 102.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.205, allocations: 7.906 kB / 0.6826 GB, free: 102.4 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003631/1.209, allocations: 1.789 MB / 0.6843 GB, free: 102.1 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/1.211, allocations: 0.794 MB / 0.6851 GB, free: 101.7 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004139/1.215, allocations: 1.664 MB / 0.6867 GB, free: 101.1 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004579/1.215, allocations: 244.9 kB / 0.687 GB, free: 101.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005715/1.221, allocations: 8.879 MB / 0.6956 GB, free: 93.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/1.221, allocations: 3.75 kB / 0.6956 GB, free: 93.6 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007833/1.229, allocations: 6.763 MB / 0.7022 GB, free: 87.42 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009753/1.23, allocations: 145.8 kB / 0.7024 GB, free: 87.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.232, allocations: 149.5 kB / 0.7025 GB, free: 87.34 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006622/1.233, allocations: 0.5818 MB / 0.7031 GB, free: 86.83 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003958/1.233, allocations: 249 kB / 0.7033 GB, free: 86.64 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.001102/1.234, allocations: 1.374 MB / 0.7047 GB, free: 85.5 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.7e-07/1.234, allocations: 0 / 0.7047 GB, free: 85.5 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01126/1.245, allocations: 5.071 MB / 0.7096 GB, free: 81.8 MB / 0.5262 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 (736): * Single equations (assignments): 730 * 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.01249/1.258, allocations: 6.32 MB / 0.7158 GB, free: 76.66 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.009345/1.267, allocations: 5.596 MB / 0.7213 GB, free: 71.65 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 0.0002673/1.267, allocations: 115.8 kB / 0.7214 GB, free: 71.53 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.004637/1.272, allocations: 3.632 MB / 0.7249 GB, free: 68.31 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006321/1.278, allocations: 7.55 MB / 0.7323 GB, free: 59.98 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07782/1.356, allocations: 11.32 MB / 0.7433 GB, free: 49.4 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009301/1.357, allocations: 1.088 MB / 0.7444 GB, free: 48.28 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.004604/1.362, allocations: 1.619 MB / 0.746 GB, free: 46.73 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002912/1.365, allocations: 1.971 MB / 0.7479 GB, free: 44.84 MB / 0.5262 GB Notification: Performance of SimCode: time 2.033e-06/1.365, allocations: 0 / 0.7479 GB, free: 44.84 MB / 0.5262 GB Notification: Performance of Templates: time 0.3472/1.712, allocations: 193.9 MB / 0.9373 GB, free: 17.98 MB / 0.5262 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.751923680305481]