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.001762/0.001762, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00258/0.00258, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.98 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.1314/0.1314, allocations: 23.89 MB / 336.3 MB, free: 11.15 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.002069/0.002069, allocations: 68.17 kB / 471.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.302, allocations: 59.87 MB / 0.5187 GB, free: 9.602 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.06369/0.3657, allocations: 51.24 MB / 0.5687 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1518/0.5175, allocations: 121.5 MB / 0.6874 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006955/0.5244, allocations: 99.19 kB / 0.6875 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008281/0.5327, allocations: 2.408 MB / 0.6898 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.03317/0.5659, allocations: 10.27 MB / 0.6999 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.04233/0.6082, allocations: 15.76 MB / 0.7153 GB, free: 108 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01711/0.6253, allocations: 10.55 MB / 0.7256 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0081/0.6334, allocations: 4.671 MB / 0.7301 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2662/0.8997, allocations: 5.428 MB / 0.7354 GB, free: 26.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.012/0.9117, allocations: 5.973 MB / 0.7413 GB, free: 26.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004004/0.9157, allocations: 0.8849 MB / 0.7421 GB, free: 26.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04362/0.9593, allocations: 13.91 MB / 0.7557 GB, free: 26.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.005183/0.9645, allocations: 2.137 MB / 0.7578 GB, free: 26.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008632/0.9731, allocations: 4.546 MB / 0.7622 GB, free: 25.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05196/1.025, allocations: 24.96 MB / 0.7866 GB, free: 23.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.025, allocations: 0 / 0.7866 GB, free: 23.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/1.025, allocations: 0 / 0.7866 GB, free: 23.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000441/1.025, allocations: 3.156 kB / 0.7866 GB, free: 23.21 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.0272/1.053, allocations: 10.66 MB / 0.797 GB, free: 18.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.053, allocations: 7.031 kB / 0.797 GB, free: 18.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001722/1.054, allocations: 0.9044 MB / 0.7979 GB, free: 18.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009491/1.064, allocations: 1.948 MB / 0.7998 GB, free: 18.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007897/1.072, allocations: 3.524 MB / 0.8033 GB, free: 17.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004914/1.072, allocations: 0.5756 MB / 0.8038 GB, free: 17.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/1.075, allocations: 0.738 MB / 0.8045 GB, free: 17.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/1.092, allocations: 9.22 MB / 0.8135 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/1.093, allocations: 7.469 kB / 0.8135 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009137/1.093, allocations: 288 kB / 0.8138 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.389e-05/1.094, allocations: 172 kB / 0.814 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/1.113, allocations: 12.73 MB / 0.8264 GB, free: 14.02 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.06771/1.181, allocations: 30.13 MB / 0.8558 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03735/1.218, allocations: 17.52 MB / 0.8729 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009016/1.227, allocations: 4.096 MB / 0.8769 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05627/1.283, allocations: 20.66 MB / 0.8971 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.142e-05/1.284, allocations: 95.12 kB / 0.8972 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003244/1.287, allocations: 0.6542 MB / 0.8978 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=581): time 1.67e-05/1.287, allocations: 0 / 0.8978 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of matching and sorting (n=757): time 0.13/1.417, allocations: 35.25 MB / 0.9323 GB, free: 2.172 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.417, allocations: 129.3 kB / 0.9324 GB, free: 2.031 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005846/1.423, allocations: 3.385 MB / 0.9357 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001333/1.424, allocations: 152.4 kB / 0.9358 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002799/1.427, allocations: 3.256 MB / 0.939 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.003569/1.43, allocations: 2.708 MB / 0.9417 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004871/1.435, allocations: 1.706 MB / 0.9433 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.435, allocations: 309.1 kB / 0.9436 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006259/1.442, allocations: 2.864 MB / 0.9464 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008902/1.451, allocations: 5.755 MB / 0.952 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01671/1.467, allocations: 9.502 MB / 0.9613 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.519e-05/1.467, allocations: 28 kB / 0.9614 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02853/1.496, allocations: 10.72 MB / 0.9718 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.496, allocations: 44 kB / 0.9719 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/1.496, allocations: 92 kB / 0.972 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00961/1.506, allocations: 1.822 MB / 0.9737 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01062/1.516, allocations: 2.313 MB / 0.976 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2434/1.76, allocations: 12.31 MB / 0.988 GB, free: 291.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006602/1.766, allocations: 291 kB / 0.9883 GB, free: 291.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001353/1.768, allocations: 0.5181 MB / 0.9888 GB, free: 291.1 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.002952/1.771, allocations: 1.205 MB / 0.99 GB, free: 290.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/1.772, allocations: 0.5987 MB / 0.9906 GB, free: 290.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02336/1.796, allocations: 10.12 MB / 1 GB, free: 287.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-05/1.796, allocations: 76.75 kB / 1.001 GB, free: 287.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.913e-05/1.796, allocations: 5.344 kB / 1.001 GB, free: 287.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001382/1.796, allocations: 40.02 kB / 1.001 GB, free: 287.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03226/1.828, allocations: 16.33 MB / 1.016 GB, free: 281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/1.828, allocations: 3.906 kB / 1.017 GB, free: 281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006752/1.835, allocations: 1.528 MB / 1.018 GB, free: 280.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007631/1.843, allocations: 1.61 MB / 1.02 GB, free: 280.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001062/1.844, allocations: 259.1 kB / 1.02 GB, free: 280.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/1.857, allocations: 11.56 MB / 1.031 GB, free: 271.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.857, allocations: 7 kB / 1.031 GB, free: 271.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02349/1.88, allocations: 12.98 MB / 1.044 GB, free: 265.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003111/1.883, allocations: 1.276 MB / 1.045 GB, free: 265.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009989/1.884, allocations: 153.3 kB / 1.045 GB, free: 265 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002959/1.887, allocations: 149.5 kB / 1.045 GB, free: 264.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000868/1.888, allocations: 0.6049 MB / 1.046 GB, free: 264.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004872/1.888, allocations: 317.5 kB / 1.046 GB, free: 264.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002421/1.891, allocations: 2.041 MB / 1.048 GB, free: 264 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.891, allocations: 0 / 1.048 GB, free: 264 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01256/1.903, allocations: 5.109 MB / 1.053 GB, free: 263.5 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.03048/1.934, allocations: 19.15 MB / 1.072 GB, free: 251.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01326/1.947, allocations: 8.413 MB / 1.08 GB, free: 243.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.947, allocations: 6.625 kB / 1.08 GB, free: 243.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00623/1.953, allocations: 4.48 MB / 1.085 GB, free: 238.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00493/1.958, allocations: 1.195 MB / 1.086 GB, free: 237.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0832/2.042, allocations: 60.16 MB / 1.144 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/2.044, allocations: 3.182 MB / 1.148 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005958/2.05, allocations: 1.678 MB / 1.149 GB, free: 169 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00452/2.054, allocations: 3.727 MB / 1.153 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.142e-06/2.054, allocations: 0 / 1.153 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7406/2.795, allocations: 223.9 MB / 1.371 GB, free: 264.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.17/46.96, allocations: 1.891 kB / 1.371 GB, free: 264.6 MB / 0.7169 GB " [Timeout remaining time 613] (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: 49.87658089608885] Failed to read output from testmodel.py, exit status != 0: 47.205669287825 47.224277662 46.19520032 Calling exit ...