Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002169/0.002169, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08532/0.08532, allocations: 15.54 MB / 318.2 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.89 kB / 445 MB, free: 13.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1028, allocations: 56.55 MB / 0.4898 GB, free: 4.859 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.AcidBase.Dev.RedCellMembrane): time 0.2548/0.3576, allocations: 50.84 MB / 0.5394 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.148/0.5056, allocations: 121.1 MB / 0.6577 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005311/0.5109, allocations: 75.56 kB / 0.6577 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007166/0.5181, allocations: 2.405 MB / 0.6601 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.03085/0.5489, allocations: 10.18 MB / 0.67 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.04337/0.5923, allocations: 15.61 MB / 0.6853 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01812/0.6104, allocations: 10.53 MB / 0.6956 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007434/0.6179, allocations: 4.687 MB / 0.7001 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009284/0.6272, allocations: 5.367 MB / 0.7054 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01136/0.6385, allocations: 5.97 MB / 0.7112 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.004458/0.643, allocations: 0.8867 MB / 0.7121 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2953/0.9382, allocations: 13.9 MB / 0.7256 GB, free: 30.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003187/0.9414, allocations: 2.135 MB / 0.7277 GB, free: 30.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008968/0.9504, allocations: 4.543 MB / 0.7322 GB, free: 30.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05324/1.004, allocations: 24.36 MB / 0.756 GB, free: 28.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.004, allocations: 0 / 0.756 GB, free: 28.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/1.004, allocations: 3.281 kB / 0.756 GB, free: 28.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003791/1.004, allocations: 0 / 0.756 GB, free: 28.77 MB / 0.545 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.02578/1.03, allocations: 10.73 MB / 0.7664 GB, free: 24.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/1.03, allocations: 7.969 kB / 0.7664 GB, free: 24.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001639/1.031, allocations: 0.9093 MB / 0.7673 GB, free: 24.15 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009867/1.041, allocations: 1.946 MB / 0.7692 GB, free: 23.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008223/1.05, allocations: 3.571 MB / 0.7727 GB, free: 22.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004218/1.05, allocations: 0.5574 MB / 0.7733 GB, free: 22.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002516/1.053, allocations: 0.735 MB / 0.774 GB, free: 22.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0207/1.073, allocations: 9.214 MB / 0.783 GB, free: 22.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/1.073, allocations: 6.625 kB / 0.783 GB, free: 22.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001392/1.075, allocations: 289 kB / 0.7833 GB, free: 22.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/1.075, allocations: 171.5 kB / 0.7834 GB, free: 22.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02288/1.098, allocations: 12.7 MB / 0.7958 GB, free: 19.8 MB / 0.545 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.05531/1.153, allocations: 30.22 MB / 0.8253 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03993/1.193, allocations: 19.84 MB / 0.8447 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009298/1.202, allocations: 4.091 MB / 0.8487 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06751/1.27, allocations: 36.55 MB / 0.8844 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.598e-05/1.27, allocations: 91.12 kB / 0.8845 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003412/1.273, allocations: 0.6588 MB / 0.8851 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=581): time 1.837e-05/1.273, allocations: 0 / 0.8851 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=757): time 0.1349/1.408, allocations: 35.6 MB / 0.9199 GB, free: 7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.408, allocations: 125.3 kB / 0.92 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005862/1.414, allocations: 3.384 MB / 0.9233 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001257/1.415, allocations: 149.7 kB / 0.9235 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003151/1.419, allocations: 3.249 MB / 0.9266 GB, free: 76 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.005018/1.424, allocations: 2.718 MB / 0.9293 GB, free: 13.39 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006495/1.43, allocations: 1.702 MB / 0.931 GB, free: 11.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.43, allocations: 304.9 kB / 0.9313 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01022/1.441, allocations: 2.864 MB / 0.934 GB, free: 8.512 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01483/1.455, allocations: 5.739 MB / 0.9397 GB, free: 1.617 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03037/1.486, allocations: 9.492 MB / 0.9489 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/1.486, allocations: 24 kB / 0.9489 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.2407/1.727, allocations: 10.7 MB / 0.9594 GB, free: 286.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/1.727, allocations: 44.36 kB / 0.9594 GB, free: 286.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.039e-05/1.727, allocations: 89.94 kB / 0.9595 GB, free: 286.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0092/1.736, allocations: 1.819 MB / 0.9613 GB, free: 286.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/1.746, allocations: 2.311 MB / 0.9636 GB, free: 286.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/1.763, allocations: 12.82 MB / 0.9761 GB, free: 278.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006637/1.769, allocations: 295.7 kB / 0.9764 GB, free: 278.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/1.771, allocations: 0.5161 MB / 0.9769 GB, free: 278.4 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.003031/1.774, allocations: 1.2 MB / 0.978 GB, free: 278.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/1.776, allocations: 0.6054 MB / 0.9786 GB, free: 278.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02333/1.799, allocations: 10.1 MB / 0.9885 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-05/1.799, allocations: 78.25 kB / 0.9886 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.739e-05/1.799, allocations: 3.656 kB / 0.9886 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001552/1.799, allocations: 40.03 kB / 0.9886 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03156/1.831, allocations: 16.3 MB / 1.005 GB, free: 268 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/1.831, allocations: 3.906 kB / 1.005 GB, free: 268 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007162/1.838, allocations: 1.523 MB / 1.006 GB, free: 267.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00803/1.846, allocations: 1.613 MB / 1.008 GB, free: 267.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001113/1.847, allocations: 261.7 kB / 1.008 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/1.86, allocations: 12.08 MB / 1.02 GB, free: 257.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.86, allocations: 3.969 kB / 1.02 GB, free: 257.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02338/1.884, allocations: 12.95 MB / 1.032 GB, free: 252.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003506/1.887, allocations: 1.329 MB / 1.034 GB, free: 251.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/1.889, allocations: 150.3 kB / 1.034 GB, free: 251.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003649/1.892, allocations: 158.6 kB / 1.034 GB, free: 251 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009318/1.893, allocations: 0.5687 MB / 1.034 GB, free: 250.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005551/1.894, allocations: 319.7 kB / 1.035 GB, free: 250.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002502/1.896, allocations: 2.044 MB / 1.037 GB, free: 249.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/1.896, allocations: 0 / 1.037 GB, free: 249.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01512/1.912, allocations: 5.108 MB / 1.042 GB, free: 245.1 MB / 0.6856 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.03336/1.945, allocations: 19.04 MB / 1.06 GB, free: 226.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01403/1.959, allocations: 8.404 MB / 1.069 GB, free: 218.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.959, allocations: 0 / 1.069 GB, free: 218.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.006862/1.966, allocations: 4.482 MB / 1.073 GB, free: 213.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00538/1.971, allocations: 1.181 MB / 1.074 GB, free: 212.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08581/2.057, allocations: 60.1 MB / 1.133 GB, free: 148.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/2.06, allocations: 3.176 MB / 1.136 GB, free: 145.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.007183/2.067, allocations: 1.66 MB / 1.137 GB, free: 143.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004562/2.071, allocations: 3.729 MB / 1.141 GB, free: 140.2 MB / 0.6856 GB Notification: Performance of SimCode: time 1.854e-06/2.071, allocations: 0 / 1.141 GB, free: 140.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5303/2.602, allocations: 216.6 MB / 1.353 GB, free: 245.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 45.27/47.87, allocations: 3.938 kB / 1.353 GB, free: 245.1 MB / 0.6856 GB " [Timeout remaining time 612] (rm -f Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_AcidBase_Dev_RedCellMembrane_fmu --startTime=0 --stopTime=1e-08 --stepSize=4e-12 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_AcidBase_Dev_RedCellMembrane.fmu > Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 50.796653107739985] Failed to read output from testmodel.py, exit status != 0: 48.096056495793164 48.104792627 47.098753626 Calling exit ...