Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.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.001614/0.001614, allocations: 111 kB / 16.46 MB, free: 6.453 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.001646/0.001646, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.429/1.429, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.1544/0.1544, allocations: 23.88 MB / 332.7 MB, free: 12.35 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.CarbonDioxideInBlood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",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.001993/0.001993, allocations: 71.91 kB / 466.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3376, allocations: 59.83 MB / 0.5136 GB, free: 8.805 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.CarbonDioxideInBlood): time 0.04763/0.3852, allocations: 35.09 MB / 0.5478 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06145/0.4467, allocations: 47.64 MB / 0.5944 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.4501, allocations: 47.62 kB / 0.5944 GB, free: 8.367 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003553/0.4536, allocations: 1.024 MB / 0.5954 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0132/0.4668, allocations: 3.732 MB / 0.599 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01956/0.4864, allocations: 6.431 MB / 0.6053 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007488/0.4939, allocations: 4.539 MB / 0.6098 GB, free: 8.547 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003991/0.4979, allocations: 2.273 MB / 0.612 GB, free: 6.219 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.5019, allocations: 2.28 MB / 0.6142 GB, free: 3.934 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004825/0.5067, allocations: 2.617 MB / 0.6168 GB, free: 1.309 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001502/0.5082, allocations: 420 kB / 0.6172 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01715/0.5253, allocations: 5.359 MB / 0.6224 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.5271, allocations: 0.9893 MB / 0.6234 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003824/0.5309, allocations: 2.03 MB / 0.6253 GB, free: 8.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02433/0.5553, allocations: 10.23 MB / 0.6353 GB, free: 14.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5553, allocations: 4 kB / 0.6353 GB, free: 14.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5553, allocations: 0 / 0.6353 GB, free: 14.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002147/0.5555, allocations: 4 kB / 0.6353 GB, free: 14.22 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01231/0.5678, allocations: 4.833 MB / 0.6401 GB, free: 9.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5678, allocations: 12.03 kB / 0.6401 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005954/0.5684, allocations: 426.6 kB / 0.6405 GB, free: 8.867 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/0.5723, allocations: 0.8488 MB / 0.6413 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/0.5753, allocations: 1.692 MB / 0.643 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.5756, allocations: 302.2 kB / 0.6433 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006047/0.5762, allocations: 336.2 kB / 0.6436 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007723/0.5839, allocations: 4.511 MB / 0.648 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/0.5839, allocations: 3.938 kB / 0.648 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003456/0.5843, allocations: 124 kB / 0.6481 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.5844, allocations: 83.94 kB / 0.6482 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00988/0.5942, allocations: 6.165 MB / 0.6542 GB, free: 10.67 MB / 0.4981 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.02496/0.6192, allocations: 14.13 MB / 0.668 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009678/0.6289, allocations: 6.124 MB / 0.674 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003176/0.632, allocations: 2.044 MB / 0.676 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02391/0.6559, allocations: 14.92 MB / 0.6905 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.656, allocations: 60.8 kB / 0.6906 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002164/0.6582, allocations: 473.7 kB / 0.691 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 1.202e-05/0.6582, allocations: 0 / 0.691 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.09106/0.7492, allocations: 23.86 MB / 0.7144 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.761e-05/0.7493, allocations: 94.39 kB / 0.7144 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.7519, allocations: 1.708 MB / 0.7161 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006492/0.7525, allocations: 89.7 kB / 0.7162 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.7535, allocations: 1.344 MB / 0.7175 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001384/0.7549, allocations: 1.375 MB / 0.7189 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/0.7562, allocations: 0.7838 MB / 0.7196 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7563, allocations: 305.1 kB / 0.7199 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003101/0.7594, allocations: 1.812 MB / 0.7217 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.248/1.007, allocations: 2.82 MB / 0.7244 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008137/1.015, allocations: 4.935 MB / 0.7293 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-05/1.016, allocations: 8.969 kB / 0.7293 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01876/1.034, allocations: 6.798 MB / 0.7359 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/1.034, allocations: 18.38 kB / 0.7359 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.879e-05/1.034, allocations: 30.06 kB / 0.7359 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01106/1.045, allocations: 2.287 MB / 0.7382 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003803/1.049, allocations: 0.8901 MB / 0.739 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/1.074, allocations: 18.4 MB / 0.757 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/1.077, allocations: 139.8 kB / 0.7571 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004792/1.077, allocations: 229.1 kB / 0.7574 GB, free: 150.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (469): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,26), (1,3), (1,6), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001368/1.079, allocations: 0.6006 MB / 0.758 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007114/1.079, allocations: 292.2 kB / 0.7582 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/1.096, allocations: 6.547 MB / 0.7646 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.255e-05/1.096, allocations: 42.03 kB / 0.7647 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/1.096, allocations: 7.156 kB / 0.7647 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-05/1.096, allocations: 23.66 kB / 0.7647 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/1.116, allocations: 10.63 MB / 0.7751 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.116, allocations: 3.938 kB / 0.7751 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/1.119, allocations: 0.6606 MB / 0.7757 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008594/1.127, allocations: 2.019 MB / 0.7777 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004408/1.128, allocations: 135.9 kB / 0.7778 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01762/1.145, allocations: 17.03 MB / 0.7945 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.145, allocations: 6.5 kB / 0.7945 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/1.162, allocations: 8.464 MB / 0.8027 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.164, allocations: 0.7119 MB / 0.8034 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/1.164, allocations: 83.98 kB / 0.8035 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.166, allocations: 100.7 kB / 0.8036 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006382/1.166, allocations: 337.3 kB / 0.8039 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002618/1.167, allocations: 163.9 kB / 0.8041 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001088/1.168, allocations: 1.109 MB / 0.8052 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.168, allocations: 4 kB / 0.8052 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005575/1.173, allocations: 2.205 MB / 0.8073 GB, free: 115.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.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 (354): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,8), (4,30), (1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01982/1.193, allocations: 11.17 MB / 0.8182 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008821/1.202, allocations: 5.556 MB / 0.8236 GB, free: 99.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.202, allocations: 2.688 kB / 0.8237 GB, free: 99.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004753/1.207, allocations: 3.344 MB / 0.8269 GB, free: 96.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/1.209, allocations: 0.5547 MB / 0.8275 GB, free: 95.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05183/1.261, allocations: 31.17 MB / 0.8579 GB, free: 63.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/1.262, allocations: 1.882 MB / 0.8597 GB, free: 61.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002461/1.265, allocations: 0.669 MB / 0.8604 GB, free: 61.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/1.266, allocations: 1.55 MB / 0.8619 GB, free: 59.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/1.266, allocations: 0 / 0.8619 GB, free: 59.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.404/1.67, allocations: 112.6 MB / 0.9719 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 47.28/48.95, allocations: 11.94 kB / 0.9719 GB, free: 189.3 MB / 0.5919 GB " [Timeout remaining time 611] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 52.137320982059464] Failed to read output from testmodel.py, exit status != 0: 49.114579072920606 49.131895882 48.57328088 Calling exit ...