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.0007647/0.0007647, 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.000836/0.000836, allocations: 169.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.9048/0.9048, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.09251/0.09251, allocations: 17.37 MB / 276.6 MB, free: 11.84 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 411.5 MB, free: 384 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.791e-05, allocations: 2.281 kB / 411.5 MB, free: 380 kB / 378.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.3012/0.3012, allocations: 47.18 MB / 458.7 MB, free: 40.46 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.06737/0.3686, allocations: 106.1 MB / 0.5515 GB, free: 5.527 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004856/0.3734, allocations: 99.19 kB / 0.5516 GB, free: 5.43 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004499/0.3779, allocations: 2.178 MB / 0.5537 GB, free: 3.234 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0259/0.4038, allocations: 10.54 MB / 0.564 GB, free: 8.621 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0362/0.44, allocations: 16.23 MB / 0.5799 GB, free: 8.285 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.01058/0.4506, allocations: 10.88 MB / 0.5905 GB, free: 13.36 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004099/0.4547, allocations: 4.658 MB / 0.5951 GB, free: 8.629 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005722/0.4604, allocations: 7.395 MB / 0.6023 GB, free: 1.223 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004744/0.4652, allocations: 4.857 MB / 0.607 GB, free: 12.35 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.4664, allocations: 0.8828 MB / 0.6079 GB, free: 11.47 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2247/0.691, allocations: 13.15 MB / 0.6207 GB, free: 30.57 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.00231/0.6933, allocations: 2.156 MB / 0.6228 GB, free: 30.57 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.004061/0.6974, allocations: 3.369 MB / 0.6261 GB, free: 30.57 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.04183/0.7392, allocations: 26.61 MB / 0.6521 GB, free: 29.46 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7392, allocations: 1.547 kB / 0.6521 GB, free: 29.46 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.564e-06/0.7392, allocations: 0 / 0.6521 GB, free: 29.46 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001893/0.7394, allocations: 1.188 kB / 0.6521 GB, free: 29.46 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.01774/0.7572, allocations: 10.55 MB / 0.6624 GB, free: 25.07 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.7572, allocations: 9.75 kB / 0.6624 GB, free: 25.07 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001281/0.7585, allocations: 0.9077 MB / 0.6633 GB, free: 24.99 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007043/0.7655, allocations: 1.951 MB / 0.6652 GB, free: 24.52 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005191/0.7707, allocations: 3.518 MB / 0.6686 GB, free: 23.71 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.771, allocations: 0.5796 MB / 0.6692 GB, free: 23.64 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009873/0.772, allocations: 0.7278 MB / 0.6699 GB, free: 23.62 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.7821, allocations: 9.222 MB / 0.6789 GB, free: 23.08 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-05/0.7821, allocations: 6.812 kB / 0.6789 GB, free: 23.08 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006175/0.7828, allocations: 291.5 kB / 0.6792 GB, free: 23.08 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.52e-05/0.7828, allocations: 171.2 kB / 0.6794 GB, free: 23.08 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/0.7955, allocations: 12.58 MB / 0.6917 GB, free: 20.09 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.02732/0.8228, allocations: 24.87 MB / 0.716 GB, free: 5.457 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/0.842, allocations: 17.1 MB / 0.7327 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004715/0.8467, allocations: 4.098 MB / 0.7367 GB, free: 320 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02975/0.8764, allocations: 19.54 MB / 0.7557 GB, free: 13.18 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/0.8765, allocations: 95.12 kB / 0.7558 GB, free: 13.08 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001854/0.8783, allocations: 0.6521 MB / 0.7565 GB, free: 12.43 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=581): time 1.064e-05/0.8784, allocations: 5.391 kB / 0.7565 GB, free: 12.43 MB / 0.5418 GB Notification: Performance of matching and sorting (n=757): time 0.06242/0.9408, allocations: 35.26 MB / 0.7909 GB, free: 9.473 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.9409, allocations: 129.3 kB / 0.791 GB, free: 9.332 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/0.9445, allocations: 3.537 MB / 0.7945 GB, free: 5.789 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004478/0.9449, allocations: 152.4 kB / 0.7946 GB, free: 5.637 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001537/0.9465, allocations: 3.233 MB / 0.7978 GB, free: 2.406 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001706/0.9482, allocations: 2.676 MB / 0.8004 GB, free: 15.76 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001927/0.9501, allocations: 1.691 MB / 0.802 GB, free: 14.06 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.9502, allocations: 304.1 kB / 0.8023 GB, free: 13.76 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003358/0.9535, allocations: 2.865 MB / 0.8051 GB, free: 10.89 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004833/0.9584, allocations: 5.747 MB / 0.8107 GB, free: 3.91 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009065/0.9674, allocations: 9.511 MB / 0.82 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-05/0.9675, allocations: 30.59 kB / 0.8201 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.1824/1.15, allocations: 10.72 MB / 0.8305 GB, free: 242.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.376e-05/1.15, allocations: 44.64 kB / 0.8306 GB, free: 242.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.39e-05/1.15, allocations: 89.78 kB / 0.8307 GB, free: 242.1 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004707/1.155, allocations: 1.817 MB / 0.8324 GB, free: 242 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006067/1.161, allocations: 2.318 MB / 0.8347 GB, free: 242 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/1.171, allocations: 12.2 MB / 0.8466 GB, free: 234.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005333/1.176, allocations: 292.8 kB / 0.8469 GB, free: 234.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/1.178, allocations: 0.5238 MB / 0.8474 GB, free: 234.7 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.003558/1.182, allocations: 1.196 MB / 0.8486 GB, free: 234.5 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001593/1.183, allocations: 0.601 MB / 0.8492 GB, free: 234.5 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/1.202, allocations: 10.12 MB / 0.859 GB, free: 230.9 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.73e-05/1.203, allocations: 78.84 kB / 0.8591 GB, free: 230.9 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.076e-05/1.203, allocations: 4.812 kB / 0.8591 GB, free: 230.9 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001952/1.203, allocations: 43.45 kB / 0.8592 GB, free: 230.9 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03209/1.235, allocations: 15.3 MB / 0.8741 GB, free: 224.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.921e-05/1.235, allocations: 3.875 kB / 0.8741 GB, free: 224.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004788/1.24, allocations: 1.529 MB / 0.8756 GB, free: 224.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004009/1.244, allocations: 1.597 MB / 0.8772 GB, free: 224.1 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00112/1.245, allocations: 266.8 kB / 0.8774 GB, free: 223.9 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008146/1.253, allocations: 11.45 MB / 0.8886 GB, free: 214.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.253, allocations: 10.91 kB / 0.8886 GB, free: 214.7 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/1.272, allocations: 12.97 MB / 0.9013 GB, free: 204.7 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00379/1.276, allocations: 1.267 MB / 0.9025 GB, free: 203.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001401/1.277, allocations: 150.7 kB / 0.9026 GB, free: 203.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/1.28, allocations: 155.6 kB / 0.9028 GB, free: 203.5 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009005/1.281, allocations: 0.6024 MB / 0.9034 GB, free: 203.1 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005826/1.282, allocations: 313.7 kB / 0.9037 GB, free: 202.9 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.002245/1.284, allocations: 2.043 MB / 0.9057 GB, free: 201.2 MB / 0.6043 GB Notification: Performance of sort global known variables: time 2.3e-07/1.284, allocations: 0 / 0.9057 GB, free: 201.2 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.01326/1.297, allocations: 5.109 MB / 0.9107 GB, free: 197.1 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.03006/1.327, allocations: 19.38 MB / 0.9296 GB, free: 179.1 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.34, allocations: 8.411 MB / 0.9378 GB, free: 170.6 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.34, allocations: 0 / 0.9378 GB, free: 170.6 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.005845/1.346, allocations: 4.485 MB / 0.9422 GB, free: 166.1 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005492/1.352, allocations: 1.194 MB / 0.9434 GB, free: 165 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07231/1.424, allocations: 60 MB / 1.002 GB, free: 100.7 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/1.426, allocations: 2.708 MB / 1.005 GB, free: 98.05 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.00545/1.431, allocations: 1.679 MB / 1.006 GB, free: 96.82 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00387/1.435, allocations: 3.717 MB / 1.01 GB, free: 93.11 MB / 0.6043 GB Notification: Performance of SimCode: time 1.463e-06/1.435, allocations: 0 / 1.01 GB, free: 93.11 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3881/1.823, allocations: 224.9 MB / 1.229 GB, free: 138.5 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.1/19.92, allocations: 0 / 1.229 GB, free: 138.5 MB / 0.6043 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane_fmu --startTime=0 --stopTime=1e-08 --stepSize=4e-12 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.926546670496464] Failed to read output from testmodel.py, exit status != 0: 20.11266479175538 20.121306588 19.379819724 Calling exit ...