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.0007015/0.0007015, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007181/0.0007181, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8533/0.8533, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.07992/0.07992, allocations: 17.46 MB / 276.6 MB, free: 11.77 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 3.938 kB / 411.6 MB, free: 232 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.54e-05, allocations: 2.844 kB / 411.6 MB, free: 228 kB / 378.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.2748/0.2748, allocations: 47.18 MB / 458.8 MB, free: 40.51 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.06569/0.3405, allocations: 106.1 MB / 0.5517 GB, free: 5.281 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004186/0.3447, allocations: 95.25 kB / 0.5518 GB, free: 5.188 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004647/0.3493, allocations: 2.19 MB / 0.5539 GB, free: 2.98 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02064/0.37, allocations: 10.52 MB / 0.5642 GB, free: 8.383 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.03063/0.4006, allocations: 16.23 MB / 0.58 GB, free: 8.047 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.01062/0.4112, allocations: 10.88 MB / 0.5907 GB, free: 13.12 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004884/0.4161, allocations: 4.645 MB / 0.5952 GB, free: 8.398 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00894/0.425, allocations: 7.399 MB / 0.6024 GB, free: 0.9883 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006274/0.4313, allocations: 4.857 MB / 0.6072 GB, free: 12.12 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.001628/0.4329, allocations: 0.8828 MB / 0.608 GB, free: 11.23 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1968/0.6298, allocations: 13.14 MB / 0.6209 GB, free: 30.38 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.001929/0.6317, allocations: 2.163 MB / 0.623 GB, free: 30.38 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.004516/0.6362, allocations: 3.367 MB / 0.6263 GB, free: 30.38 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.04011/0.6763, allocations: 26.6 MB / 0.6522 GB, free: 29.27 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6763, allocations: 0.8438 kB / 0.6522 GB, free: 29.27 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6763, allocations: 2.031 kB / 0.6523 GB, free: 29.27 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004224/0.6767, allocations: 0 / 0.6523 GB, free: 29.27 MB / 0.4949 GB 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.01919/0.6959, allocations: 10.55 MB / 0.6626 GB, free: 24.87 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.696, allocations: 10.53 kB / 0.6626 GB, free: 24.87 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001114/0.6971, allocations: 0.9081 MB / 0.6634 GB, free: 24.79 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005456/0.7025, allocations: 1.951 MB / 0.6654 GB, free: 24.32 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/0.7066, allocations: 3.513 MB / 0.6688 GB, free: 23.52 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.7069, allocations: 0.5771 MB / 0.6693 GB, free: 23.44 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008371/0.7077, allocations: 0.7406 MB / 0.6701 GB, free: 23.42 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008817/0.7165, allocations: 9.22 MB / 0.6791 GB, free: 22.88 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-05/0.7166, allocations: 5.75 kB / 0.6791 GB, free: 22.88 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000568/0.7172, allocations: 295.9 kB / 0.6794 GB, free: 22.88 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.212e-05/0.7173, allocations: 172.2 kB / 0.6795 GB, free: 22.88 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.7284, allocations: 12.58 MB / 0.6918 GB, free: 19.86 MB / 0.4949 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.02498/0.7534, allocations: 24.88 MB / 0.7161 GB, free: 5.055 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0178/0.7712, allocations: 17.11 MB / 0.7328 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004054/0.7752, allocations: 4.095 MB / 0.7368 GB, free: 15.9 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02639/0.8016, allocations: 19.55 MB / 0.7559 GB, free: 12.78 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.8017, allocations: 91.12 kB / 0.756 GB, free: 12.68 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0016/0.8033, allocations: 0.6527 MB / 0.7566 GB, free: 12.03 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=581): time 1.317e-05/0.8033, allocations: 0 / 0.7566 GB, free: 12.03 MB / 0.5418 GB Notification: Performance of matching and sorting (n=757): time 0.06017/0.8635, allocations: 35.26 MB / 0.7911 GB, free: 9.07 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.8635, allocations: 129.3 kB / 0.7912 GB, free: 8.93 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/0.867, allocations: 3.531 MB / 0.7946 GB, free: 5.391 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008111/0.8678, allocations: 149.7 kB / 0.7948 GB, free: 5.238 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.8692, allocations: 3.234 MB / 0.7979 GB, free: 2.008 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001783/0.871, allocations: 2.681 MB / 0.8005 GB, free: 15.36 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001671/0.8727, allocations: 1.691 MB / 0.8022 GB, free: 13.66 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.8727, allocations: 301.1 kB / 0.8025 GB, free: 13.36 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003496/0.8762, allocations: 2.865 MB / 0.8053 GB, free: 10.49 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004911/0.8811, allocations: 5.749 MB / 0.8109 GB, free: 3.508 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.8915, allocations: 9.51 MB / 0.8202 GB, free: 9.191 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.24e-05/0.8915, allocations: 27.75 kB / 0.8202 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.1704/1.062, allocations: 10.72 MB / 0.8307 GB, free: 241 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/1.062, allocations: 46.03 kB / 0.8307 GB, free: 241 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.154e-05/1.062, allocations: 92.56 kB / 0.8308 GB, free: 241 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004266/1.066, allocations: 1.814 MB / 0.8326 GB, free: 240.9 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005838/1.072, allocations: 2.318 MB / 0.8348 GB, free: 240.9 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009331/1.081, allocations: 12.19 MB / 0.8468 GB, free: 233.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004571/1.086, allocations: 290.9 kB / 0.847 GB, free: 233.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006517/1.087, allocations: 0.5204 MB / 0.8475 GB, free: 233.6 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.002218/1.089, allocations: 1.204 MB / 0.8487 GB, free: 233.3 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.09, allocations: 0.6028 MB / 0.8493 GB, free: 233.3 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/1.103, allocations: 10.12 MB / 0.8592 GB, free: 229.6 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.388e-05/1.103, allocations: 78.28 kB / 0.8593 GB, free: 229.6 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/1.104, allocations: 4.766 kB / 0.8593 GB, free: 229.6 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.071e-05/1.104, allocations: 39.61 kB / 0.8593 GB, free: 229.6 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/1.124, allocations: 15.3 MB / 0.8742 GB, free: 223.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.124, allocations: 3.781 kB / 0.8742 GB, free: 223.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003501/1.128, allocations: 1.527 MB / 0.8757 GB, free: 223.1 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003616/1.131, allocations: 1.598 MB / 0.8773 GB, free: 222.8 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004899/1.132, allocations: 264.6 kB / 0.8776 GB, free: 222.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00739/1.139, allocations: 11.45 MB / 0.8887 GB, free: 213.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.139, allocations: 7.406 kB / 0.8887 GB, free: 213.4 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.153, allocations: 12.97 MB / 0.9014 GB, free: 204.2 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002378/1.155, allocations: 1.272 MB / 0.9027 GB, free: 203.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006162/1.156, allocations: 146 kB / 0.9028 GB, free: 203.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/1.157, allocations: 162.3 kB / 0.9029 GB, free: 203 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005982/1.158, allocations: 0.6023 MB / 0.9035 GB, free: 202.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003776/1.158, allocations: 311.2 kB / 0.9038 GB, free: 202.4 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.001954/1.16, allocations: 2.038 MB / 0.9058 GB, free: 200.7 MB / 0.6043 GB Notification: Performance of sort global known variables: time 2.1e-07/1.16, allocations: 2.688 kB / 0.9058 GB, free: 200.7 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.01005/1.17, allocations: 5.109 MB / 0.9108 GB, free: 196.4 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.02283/1.193, allocations: 19.38 MB / 0.9297 GB, free: 178.2 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.01036/1.204, allocations: 8.414 MB / 0.938 GB, free: 169.8 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.204, allocations: 0 / 0.938 GB, free: 169.8 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.004431/1.208, allocations: 4.493 MB / 0.9423 GB, free: 165.3 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/1.212, allocations: 1.19 MB / 0.9435 GB, free: 164.1 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06003/1.272, allocations: 59.98 MB / 1.002 GB, free: 99.91 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/1.274, allocations: 2.713 MB / 1.005 GB, free: 97.24 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.004752/1.278, allocations: 1.679 MB / 1.006 GB, free: 95.99 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002861/1.281, allocations: 3.722 MB / 1.01 GB, free: 92.27 MB / 0.6043 GB Notification: Performance of SimCode: time 1.302e-06/1.281, allocations: 0 / 1.01 GB, free: 92.27 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3429/1.624, allocations: 224.9 MB / 1.23 GB, free: 138.1 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/17.83, allocations: 0 / 1.23 GB, free: 138.1 MB / 0.6043 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane_fmu --startTime=0 --stopTime=1e-08 --stepSize=4e-12 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.68639629986137] Failed to read output from testmodel.py, exit status != 0: 18.01701863668859 18.022538214 17.344841213 Calling exit ...