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.001368/0.001368, 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.001821/0.001821, allocations: 220.6 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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.1347/0.1347, allocations: 23.84 MB / 336.3 MB, free: 11.18 MB / 270.1 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: 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.002188/0.002188, allocations: 71.88 kB / 471.2 MB, free: 7.645 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3021, allocations: 59.86 MB / 0.5186 GB, free: 9.629 MB / 382.1 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.06215/0.3643, allocations: 51.22 MB / 0.5686 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1549/0.5192, allocations: 121.5 MB / 0.6873 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005417/0.5246, allocations: 95.25 kB / 0.6874 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007483/0.5321, allocations: 2.408 MB / 0.6898 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.02948/0.5615, allocations: 10.27 MB / 0.6998 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0426/0.6041, allocations: 15.76 MB / 0.7152 GB, free: 164 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01705/0.6212, allocations: 10.54 MB / 0.7255 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008804/0.63, allocations: 4.69 MB / 0.7301 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2677/0.8977, allocations: 5.424 MB / 0.7354 GB, free: 26.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/0.9101, allocations: 5.974 MB / 0.7412 GB, free: 26.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004443/0.9145, allocations: 0.8857 MB / 0.7421 GB, free: 26.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04021/0.9547, allocations: 13.9 MB / 0.7556 GB, free: 26.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004557/0.9593, allocations: 2.14 MB / 0.7577 GB, free: 26.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007768/0.9671, allocations: 4.545 MB / 0.7622 GB, free: 25.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04834/1.015, allocations: 24.96 MB / 0.7865 GB, free: 23.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.015, allocations: 3.094 kB / 0.7865 GB, free: 23.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/1.015, allocations: 0 / 0.7865 GB, free: 23.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002792/1.016, allocations: 0 / 0.7865 GB, free: 23.19 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.02219/1.038, allocations: 10.64 MB / 0.7969 GB, free: 18.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.038, allocations: 8.812 kB / 0.7969 GB, free: 18.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001559/1.039, allocations: 0.9073 MB / 0.7978 GB, free: 18.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009849/1.049, allocations: 1.951 MB / 0.7997 GB, free: 18.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008207/1.058, allocations: 3.519 MB / 0.8032 GB, free: 17.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005551/1.058, allocations: 0.5783 MB / 0.8037 GB, free: 17.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002924/1.061, allocations: 0.7394 MB / 0.8045 GB, free: 17.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01929/1.08, allocations: 9.222 MB / 0.8135 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/1.08, allocations: 3.469 kB / 0.8135 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/1.082, allocations: 289.2 kB / 0.8137 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.923e-05/1.082, allocations: 172 kB / 0.8139 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02064/1.102, allocations: 12.73 MB / 0.8263 GB, free: 14.1 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.08316/1.185, allocations: 30.14 MB / 0.8558 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03759/1.223, allocations: 17.51 MB / 0.8729 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008732/1.232, allocations: 4.099 MB / 0.8769 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0637/1.296, allocations: 20.66 MB / 0.897 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/1.296, allocations: 91.12 kB / 0.8971 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004146/1.3, allocations: 0.6539 MB / 0.8978 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=581): time 2.821e-05/1.3, allocations: 0 / 0.8978 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of matching and sorting (n=757): time 0.1411/1.441, allocations: 35.26 MB / 0.9322 GB, free: 2.246 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.441, allocations: 125.3 kB / 0.9323 GB, free: 2.109 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005935/1.447, allocations: 3.388 MB / 0.9356 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001422/1.448, allocations: 152.4 kB / 0.9358 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002758/1.451, allocations: 3.253 MB / 0.939 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00364/1.455, allocations: 2.709 MB / 0.9416 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004566/1.459, allocations: 1.706 MB / 0.9433 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.459, allocations: 305.1 kB / 0.9436 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00635/1.466, allocations: 2.865 MB / 0.9464 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009488/1.475, allocations: 5.749 MB / 0.952 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/1.494, allocations: 9.507 MB / 0.9613 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/1.494, allocations: 24 kB / 0.9613 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03174/1.526, allocations: 10.73 MB / 0.9718 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/1.526, allocations: 44 kB / 0.9718 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/1.526, allocations: 91.94 kB / 0.9719 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/1.536, allocations: 1.828 MB / 0.9737 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/1.547, allocations: 2.306 MB / 0.9759 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2632/1.81, allocations: 12.3 MB / 0.9879 GB, free: 291.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007929/1.818, allocations: 294.3 kB / 0.9882 GB, free: 291.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/1.82, allocations: 0.5156 MB / 0.9887 GB, free: 291.3 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.004003/1.824, allocations: 1.204 MB / 0.9899 GB, free: 291.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/1.826, allocations: 0.6001 MB / 0.9905 GB, free: 291.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0273/1.853, allocations: 10.12 MB / 1 GB, free: 287.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001144/1.853, allocations: 82.83 kB / 1 GB, free: 287.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.519e-05/1.853, allocations: 6.062 kB / 1 GB, free: 287.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000256/1.854, allocations: 38.53 kB / 1 GB, free: 287.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0414/1.895, allocations: 16.31 MB / 1.016 GB, free: 281.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.233e-05/1.895, allocations: 3.938 kB / 1.016 GB, free: 281.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007973/1.903, allocations: 1.532 MB / 1.018 GB, free: 281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008267/1.911, allocations: 1.611 MB / 1.019 GB, free: 280.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001484/1.913, allocations: 262.9 kB / 1.02 GB, free: 280.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/1.927, allocations: 11.57 MB / 1.031 GB, free: 271.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.927, allocations: 2.938 kB / 1.031 GB, free: 271.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02812/1.955, allocations: 12.98 MB / 1.044 GB, free: 266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00392/1.959, allocations: 1.27 MB / 1.045 GB, free: 265.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/1.961, allocations: 153.7 kB / 1.045 GB, free: 265.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003968/1.965, allocations: 150 kB / 1.045 GB, free: 265.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/1.966, allocations: 0.6006 MB / 1.046 GB, free: 265 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007052/1.967, allocations: 321.1 kB / 1.046 GB, free: 264.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002897/1.969, allocations: 2.045 MB / 1.048 GB, free: 264.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.969, allocations: 0 / 1.048 GB, free: 264.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.016/1.985, allocations: 5.105 MB / 1.053 GB, free: 263.7 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.04178/2.027, allocations: 19.17 MB / 1.072 GB, free: 251.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01628/2.044, allocations: 8.412 MB / 1.08 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/2.044, allocations: 3.938 kB / 1.08 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007702/2.051, allocations: 4.482 MB / 1.084 GB, free: 239.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006618/2.058, allocations: 1.185 MB / 1.086 GB, free: 237.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1003/2.158, allocations: 60.19 MB / 1.144 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/2.16, allocations: 3.18 MB / 1.147 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00656/2.167, allocations: 1.684 MB / 1.149 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004895/2.172, allocations: 3.719 MB / 1.153 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.533e-06/2.172, allocations: 0 / 1.153 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7613/2.933, allocations: 223.9 MB / 1.371 GB, free: 264.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.75/49.68, allocations: 2.031 kB / 1.371 GB, free: 264.8 MB / 0.7169 GB " [Timeout remaining time 610] (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: 52.643164061009884] Failed to read output from testmodel.py, exit status != 0: 49.92995783686638 49.941556597 48.923285864 Calling exit ...