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.001334/0.001334, allocations: 108.2 kB / 16.45 MB, free: 6.508 MB / 14.72 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.001555/0.001555, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.431/1.431, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] 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.1442/0.1442, allocations: 23.89 MB / 332.7 MB, free: 12.32 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 67.89 kB / 466.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3417, allocations: 59.83 MB / 0.5136 GB, free: 8.391 MB / 382.1 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.05958/0.4013, allocations: 51.08 MB / 0.5635 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1491/0.5504, allocations: 121.3 MB / 0.6819 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/0.5607, allocations: 99.25 kB / 0.682 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008147/0.5688, allocations: 2.405 MB / 0.6843 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.03313/0.602, allocations: 10.18 MB / 0.6943 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.04662/0.6486, allocations: 15.61 MB / 0.7095 GB, free: 1.828 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01818/0.6668, allocations: 10.55 MB / 0.7198 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008985/0.6758, allocations: 4.683 MB / 0.7244 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3084/0.9842, allocations: 5.426 MB / 0.7297 GB, free: 25.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.9964, allocations: 5.976 MB / 0.7355 GB, free: 25.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.005076/1.001, allocations: 0.8843 MB / 0.7364 GB, free: 25.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04641/1.048, allocations: 13.9 MB / 0.75 GB, free: 25.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.006065/1.054, allocations: 2.135 MB / 0.7521 GB, free: 25.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008923/1.063, allocations: 4.551 MB / 0.7565 GB, free: 24.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05591/1.119, allocations: 24.95 MB / 0.7809 GB, free: 22.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.119, allocations: 0 / 0.7809 GB, free: 22.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/1.119, allocations: 0 / 0.7809 GB, free: 22.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004735/1.119, allocations: 2.656 kB / 0.7809 GB, free: 22.14 MB / 0.5606 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.0295/1.149, allocations: 10.73 MB / 0.7914 GB, free: 17.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.149, allocations: 15.48 kB / 0.7914 GB, free: 17.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003142/1.152, allocations: 0.9076 MB / 0.7923 GB, free: 17.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/1.164, allocations: 1.945 MB / 0.7942 GB, free: 17.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008348/1.172, allocations: 3.617 MB / 0.7977 GB, free: 16.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006038/1.172, allocations: 0.5555 MB / 0.7982 GB, free: 16.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00337/1.176, allocations: 0.7379 MB / 0.7989 GB, free: 16.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/1.198, allocations: 9.207 MB / 0.8079 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001666/1.198, allocations: 4.5 kB / 0.8079 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/1.199, allocations: 290.8 kB / 0.8082 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.905e-05/1.199, allocations: 172.6 kB / 0.8084 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02187/1.221, allocations: 12.71 MB / 0.8208 GB, free: 15.66 MB / 0.5762 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.07074/1.292, allocations: 30.31 MB / 0.8504 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03831/1.33, allocations: 19.83 MB / 0.8698 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009812/1.34, allocations: 4.094 MB / 0.8738 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0677/1.408, allocations: 36.63 MB / 0.9095 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.684e-05/1.408, allocations: 93.78 kB / 0.9096 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003762/1.412, allocations: 0.6546 MB / 0.9103 GB, free: 15.73 MB / 0.67 GB Notification: Performance of pre-optimization done (n=581): time 2.497e-05/1.412, allocations: 0 / 0.9103 GB, free: 15.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=757): time 0.1364/1.548, allocations: 35.59 MB / 0.945 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/1.548, allocations: 129.3 kB / 0.9451 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006316/1.554, allocations: 3.384 MB / 0.9484 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001465/1.556, allocations: 148.4 kB / 0.9486 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002794/1.559, allocations: 3.254 MB / 0.9518 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.004052/1.563, allocations: 2.708 MB / 0.9544 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005425/1.568, allocations: 1.712 MB / 0.9561 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.568, allocations: 305.1 kB / 0.9564 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006869/1.575, allocations: 2.857 MB / 0.9592 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01021/1.585, allocations: 5.738 MB / 0.9648 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2701/1.856, allocations: 9.483 MB / 0.974 GB, free: 295.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.798e-05/1.856, allocations: 26.88 kB / 0.9741 GB, free: 295.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02793/1.884, allocations: 10.7 MB / 0.9845 GB, free: 294.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.918e-05/1.884, allocations: 44.31 kB / 0.9846 GB, free: 294.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/1.884, allocations: 91.12 kB / 0.9846 GB, free: 294.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009293/1.893, allocations: 1.814 MB / 0.9864 GB, free: 294.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/1.904, allocations: 2.317 MB / 0.9887 GB, free: 294 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/1.921, allocations: 12.82 MB / 1.001 GB, free: 283.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006516/1.927, allocations: 293.9 kB / 1.001 GB, free: 283.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001863/1.929, allocations: 0.5188 MB / 1.002 GB, free: 283.5 MB / 0.7169 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.00447/1.933, allocations: 1.203 MB / 1.003 GB, free: 282.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002236/1.936, allocations: 0.6028 MB / 1.004 GB, free: 282.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03093/1.967, allocations: 10.1 MB / 1.014 GB, free: 278.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.758e-05/1.967, allocations: 82.69 kB / 1.014 GB, free: 278.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.928e-05/1.967, allocations: 6.156 kB / 1.014 GB, free: 278.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002576/1.967, allocations: 37.78 kB / 1.014 GB, free: 278.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0404/2.007, allocations: 16.32 MB / 1.03 GB, free: 272.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.679e-05/2.007, allocations: 4.281 kB / 1.03 GB, free: 272.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007714/2.015, allocations: 1.528 MB / 1.031 GB, free: 272 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007796/2.023, allocations: 1.604 MB / 1.033 GB, free: 271.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001379/2.024, allocations: 265.9 kB / 1.033 GB, free: 271.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/2.038, allocations: 12.08 MB / 1.045 GB, free: 261.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/2.038, allocations: 7.688 kB / 1.045 GB, free: 261.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02976/2.068, allocations: 12.95 MB / 1.057 GB, free: 255.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003973/2.072, allocations: 1.342 MB / 1.059 GB, free: 254.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001952/2.074, allocations: 155.9 kB / 1.059 GB, free: 254.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004311/2.078, allocations: 150.4 kB / 1.059 GB, free: 254.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001623/2.08, allocations: 0.5752 MB / 1.06 GB, free: 254.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001113/2.081, allocations: 317.2 kB / 1.06 GB, free: 253.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002634/2.083, allocations: 2.038 MB / 1.062 GB, free: 252.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/2.083, allocations: 0 / 1.062 GB, free: 252.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01581/2.099, allocations: 5.108 MB / 1.067 GB, free: 248.1 MB / 0.7169 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.0345/2.134, allocations: 19.14 MB / 1.086 GB, free: 230.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01503/2.149, allocations: 8.392 MB / 1.094 GB, free: 221.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/2.149, allocations: 0 / 1.094 GB, free: 221.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00694/2.156, allocations: 4.49 MB / 1.098 GB, free: 217.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005461/2.161, allocations: 1.185 MB / 1.099 GB, free: 216 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09052/2.252, allocations: 60.1 MB / 1.158 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/2.254, allocations: 3.176 MB / 1.161 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005801/2.26, allocations: 1.681 MB / 1.163 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00419/2.264, allocations: 3.721 MB / 1.166 GB, free: 143.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.423e-06/2.264, allocations: 4 kB / 1.166 GB, free: 143.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5357/2.799, allocations: 219.5 MB / 1.381 GB, free: 260.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.89/45.69, allocations: 6.688 kB / 1.381 GB, free: 260.4 MB / 0.7169 GB " [Timeout remaining time 614] (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: 48.600113476160914] Failed to read output from testmodel.py, exit status != 0: 45.91290700202808 45.922095512 44.800910049 Calling exit ...