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.001684/0.001684, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002021/0.002021, allocations: 213.9 kB / 23.03 MB, free: 4.922 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1432/0.1432, allocations: 23.91 MB / 337.1 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="cs",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.002126/0.002126, allocations: 67.91 kB / 472 MB, free: 7.441 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.331, allocations: 59.86 MB / 0.5194 GB, free: 9.496 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.09525/0.4262, allocations: 46.7 MB / 0.565 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.149/0.5752, allocations: 106 MB / 0.6685 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008035/0.5833, allocations: 95.25 kB / 0.6686 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.009919/0.5932, allocations: 2.144 MB / 0.6707 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03659/0.6298, allocations: 10.18 MB / 0.6806 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04861/0.6784, allocations: 15.77 MB / 0.696 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0205/0.6989, allocations: 10.54 MB / 0.7063 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009914/0.7088, allocations: 4.682 MB / 0.7109 GB, free: 5.047 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01169/0.7205, allocations: 5.445 MB / 0.7162 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01252/0.733, allocations: 5.966 MB / 0.7221 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004209/0.7372, allocations: 0.8867 MB / 0.7229 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3692/1.106, allocations: 13.38 MB / 0.736 GB, free: 36.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004065/1.11, allocations: 2.132 MB / 0.7381 GB, free: 36.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01243/1.123, allocations: 3.882 MB / 0.7419 GB, free: 36.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.07009/1.193, allocations: 24.86 MB / 0.7661 GB, free: 35.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/1.193, allocations: 0 / 0.7661 GB, free: 35.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.374e-06/1.193, allocations: 0 / 0.7661 GB, free: 35.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0006233/1.194, allocations: 0 / 0.7661 GB, free: 35.41 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.03483/1.228, allocations: 10.62 MB / 0.7765 GB, free: 30.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.229, allocations: 16.77 kB / 0.7765 GB, free: 30.96 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002033/1.229, allocations: 187 kB / 0.7767 GB, free: 30.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003449/1.232, allocations: 0.9043 MB / 0.7776 GB, free: 30.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/1.244, allocations: 1.946 MB / 0.7795 GB, free: 30.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/1.255, allocations: 3.516 MB / 0.7829 GB, free: 29.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007896/1.255, allocations: 0.5806 MB / 0.7835 GB, free: 29.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003881/1.259, allocations: 0.739 MB / 0.7842 GB, free: 29.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0294/1.289, allocations: 9.225 MB / 0.7932 GB, free: 28.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004528/1.289, allocations: 5.094 kB / 0.7932 GB, free: 28.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003474/1.293, allocations: 286.2 kB / 0.7935 GB, free: 28.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002016/1.293, allocations: 170.6 kB / 0.7937 GB, free: 28.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03246/1.325, allocations: 12.73 MB / 0.8061 GB, free: 28.33 MB / 0.5606 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.06627/1.392, allocations: 24.87 MB / 0.8304 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03479/1.426, allocations: 17.1 MB / 0.8471 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01033/1.437, allocations: 4.095 MB / 0.8511 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0625/1.499, allocations: 19.56 MB / 0.8702 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/1.499, allocations: 94.78 kB / 0.8703 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004146/1.503, allocations: 0.655 MB / 0.8709 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 2.726e-05/1.503, allocations: 2.656 kB / 0.8709 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1492/1.653, allocations: 35.25 MB / 0.9053 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.653, allocations: 129.3 kB / 0.9055 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006576/1.659, allocations: 3.387 MB / 0.9088 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001473/1.661, allocations: 145.7 kB / 0.9089 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003012/1.664, allocations: 3.257 MB / 0.9121 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003903/1.668, allocations: 2.708 MB / 0.9147 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005535/1.673, allocations: 1.702 MB / 0.9164 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.673, allocations: 309 kB / 0.9167 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007112/1.681, allocations: 2.868 MB / 0.9195 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/1.691, allocations: 5.747 MB / 0.9251 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02006/1.711, allocations: 9.507 MB / 0.9344 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/1.711, allocations: 28 kB / 0.9344 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03364/1.745, allocations: 10.72 MB / 0.9449 GB, free: 6.785 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/1.745, allocations: 46.72 kB / 0.9449 GB, free: 6.742 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001649/1.745, allocations: 95.09 kB / 0.945 GB, free: 6.652 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/1.756, allocations: 1.821 MB / 0.9468 GB, free: 4.828 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/1.767, allocations: 2.319 MB / 0.949 GB, free: 2.652 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02236/1.79, allocations: 12.2 MB / 0.961 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007523/1.797, allocations: 296 kB / 0.9612 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002307/1.799, allocations: 0.5116 MB / 0.9617 GB, free: 5.16 MB / 0.6856 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.004908/1.804, allocations: 1.204 MB / 0.9629 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002387/1.807, allocations: 0.6054 MB / 0.9635 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0322/1.839, allocations: 10.12 MB / 0.9734 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.901e-05/1.839, allocations: 79.84 kB / 0.9735 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.779e-05/1.839, allocations: 4 kB / 0.9735 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002469/1.839, allocations: 39.84 kB / 0.9735 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2882/2.127, allocations: 15.28 MB / 0.9884 GB, free: 289.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-05/2.127, allocations: 6.75 kB / 0.9884 GB, free: 289.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008427/2.136, allocations: 1.522 MB / 0.9899 GB, free: 289.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008605/2.145, allocations: 1.606 MB / 0.9915 GB, free: 289.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001528/2.146, allocations: 265.9 kB / 0.9918 GB, free: 289.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01484/2.161, allocations: 11.47 MB / 1.003 GB, free: 280.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/2.161, allocations: 7.016 kB / 1.003 GB, free: 280.5 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03244/2.193, allocations: 12.97 MB / 1.016 GB, free: 275.2 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004679/2.198, allocations: 1.268 MB / 1.017 GB, free: 274.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002549/2.201, allocations: 150.2 kB / 1.017 GB, free: 274.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005249/2.206, allocations: 153.9 kB / 1.017 GB, free: 274.6 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002473/2.208, allocations: 0.6021 MB / 1.018 GB, free: 274.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001676/2.21, allocations: 314.5 kB / 1.018 GB, free: 274.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003821/2.214, allocations: 2.039 MB / 1.02 GB, free: 273.8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/2.214, allocations: 0 / 1.02 GB, free: 273.8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01609/2.23, allocations: 5.112 MB / 1.025 GB, free: 273.2 MB / 0.7012 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.03927/2.269, allocations: 19.16 MB / 1.044 GB, free: 262.7 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01539/2.285, allocations: 8.411 MB / 1.052 GB, free: 255.1 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/2.285, allocations: 0 / 1.052 GB, free: 255.1 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008405/2.293, allocations: 4.487 MB / 1.056 GB, free: 251 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007608/2.301, allocations: 1.192 MB / 1.058 GB, free: 250.1 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.102/2.403, allocations: 60.14 MB / 1.116 GB, free: 188 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003204/2.406, allocations: 2.704 MB / 1.119 GB, free: 185.3 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.007252/2.413, allocations: 1.681 MB / 1.121 GB, free: 184.2 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00579/2.419, allocations: 3.72 MB / 1.124 GB, free: 180.4 MB / 0.7012 GB Notification: Performance of SimCode: time 1.734e-06/2.419, allocations: 0 / 1.124 GB, free: 180.4 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5921/3.011, allocations: 224.2 MB / 1.343 GB, free: 267.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 47.66/50.67, allocations: 4.406 kB / 1.343 GB, free: 267.1 MB / 0.7012 GB " [Timeout remaining time 609] (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: 53.795483599067666] Failed to read output from testmodel.py, exit status != 0: 50.97338491794653 50.990399958 49.793484467 Calling exit ...