Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001504/0.001504, allocations: 109.2 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.001698/0.001698, allocations: 219.1 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.455/1.455, 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.1431/0.1431, allocations: 23.85 MB / 336.3 MB, free: 11.19 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.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_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.002082/0.002082, allocations: 67.89 kB / 471.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3419, allocations: 59.85 MB / 0.5186 GB, free: 9.566 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.CarbonDioxideInBlood): time 0.04731/0.3892, allocations: 35.17 MB / 0.5529 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06438/0.4536, allocations: 47.75 MB / 0.5996 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/0.4563, allocations: 51.56 kB / 0.5996 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003452/0.4597, allocations: 1.016 MB / 0.6006 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.4716, allocations: 3.772 MB / 0.6043 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01974/0.4914, allocations: 6.493 MB / 0.6106 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008017/0.4994, allocations: 4.543 MB / 0.6151 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004359/0.5038, allocations: 2.234 MB / 0.6172 GB, free: 4.848 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004372/0.5081, allocations: 2.288 MB / 0.6195 GB, free: 2.555 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005152/0.5133, allocations: 2.609 MB / 0.622 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001559/0.5148, allocations: 424 kB / 0.6224 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01725/0.5321, allocations: 5.359 MB / 0.6277 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002041/0.5341, allocations: 0.9932 MB / 0.6286 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003729/0.5379, allocations: 2.034 MB / 0.6306 GB, free: 7.117 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02426/0.5621, allocations: 10.23 MB / 0.6406 GB, free: 12.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.5621, allocations: 0 / 0.6406 GB, free: 12.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5621, allocations: 0 / 0.6406 GB, free: 12.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000159/0.5623, allocations: 0 / 0.6406 GB, free: 12.85 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.01195/0.5743, allocations: 4.777 MB / 0.6453 GB, free: 8.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5743, allocations: 8.031 kB / 0.6453 GB, free: 8.004 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005729/0.5749, allocations: 426.7 kB / 0.6457 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/0.5787, allocations: 0.8449 MB / 0.6465 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/0.5822, allocations: 1.616 MB / 0.6481 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.5826, allocations: 345.7 kB / 0.6484 GB, free: 4.703 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007238/0.5833, allocations: 340.2 kB / 0.6488 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008306/0.5916, allocations: 4.547 MB / 0.6532 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-05/0.5917, allocations: 0 / 0.6532 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003386/0.592, allocations: 128 kB / 0.6533 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-05/0.5921, allocations: 76 kB / 0.6534 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.6032, allocations: 6.235 MB / 0.6595 GB, free: 9.309 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.03069/0.6339, allocations: 14.09 MB / 0.6732 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.6441, allocations: 5.402 MB / 0.6785 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00395/0.6481, allocations: 2.063 MB / 0.6805 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02404/0.6721, allocations: 9.643 MB / 0.6899 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/0.6722, allocations: 64.8 kB / 0.69 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002281/0.6744, allocations: 469.8 kB / 0.6905 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 1.172e-05/0.6745, allocations: 0 / 0.6905 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.09704/0.7715, allocations: 23.36 MB / 0.7133 GB, free: 1.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.7716, allocations: 94.45 kB / 0.7134 GB, free: 1.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/0.7741, allocations: 1.724 MB / 0.715 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003999/0.7745, allocations: 89.7 kB / 0.7151 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.7757, allocations: 1.348 MB / 0.7164 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001494/0.7772, allocations: 1.379 MB / 0.7178 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/0.7786, allocations: 0.7759 MB / 0.7185 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7788, allocations: 305.1 kB / 0.7188 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003449/0.7822, allocations: 1.843 MB / 0.7206 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/0.7867, allocations: 2.846 MB / 0.7234 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008662/0.7954, allocations: 4.971 MB / 0.7283 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/0.7954, allocations: 16 kB / 0.7283 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.2281/1.024, allocations: 6.833 MB / 0.735 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/1.024, allocations: 18.72 kB / 0.735 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.637e-05/1.024, allocations: 31.03 kB / 0.735 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01138/1.035, allocations: 2.289 MB / 0.7372 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/1.039, allocations: 0.8924 MB / 0.7381 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02369/1.062, allocations: 17.7 MB / 0.7554 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/1.066, allocations: 142.3 kB / 0.7555 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004369/1.066, allocations: 229.2 kB / 0.7558 GB, free: 156.2 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.001209/1.067, allocations: 0.6083 MB / 0.7563 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006317/1.068, allocations: 289.9 kB / 0.7566 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01668/1.085, allocations: 6.578 MB / 0.763 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.913e-05/1.085, allocations: 40.78 kB / 0.7631 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/1.085, allocations: 7.281 kB / 0.7631 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.386e-05/1.085, allocations: 22.84 kB / 0.7631 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/1.106, allocations: 10.66 MB / 0.7735 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.106, allocations: 3.969 kB / 0.7735 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/1.109, allocations: 0.6608 MB / 0.7742 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009105/1.118, allocations: 2.02 MB / 0.7761 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005408/1.119, allocations: 135.2 kB / 0.7763 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01909/1.138, allocations: 16.33 MB / 0.7922 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.138, allocations: 6.531 kB / 0.7922 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/1.156, allocations: 8.51 MB / 0.8005 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/1.158, allocations: 0.6408 MB / 0.8012 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004409/1.159, allocations: 76 kB / 0.8012 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/1.16, allocations: 95.97 kB / 0.8013 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006044/1.161, allocations: 357.1 kB / 0.8017 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002705/1.161, allocations: 166.5 kB / 0.8018 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001165/1.163, allocations: 1.127 MB / 0.8029 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.163, allocations: 0 / 0.8029 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005657/1.168, allocations: 2.203 MB / 0.8051 GB, free: 122.8 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.0219/1.19, allocations: 11.23 MB / 0.816 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009601/1.2, allocations: 5.6 MB / 0.8215 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.2, allocations: 0 / 0.8215 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00557/1.205, allocations: 3.345 MB / 0.8248 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/1.208, allocations: 0.5499 MB / 0.8253 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05848/1.267, allocations: 31.33 MB / 0.8559 GB, free: 70.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.268, allocations: 1.878 MB / 0.8577 GB, free: 68.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002569/1.27, allocations: 0.6671 MB / 0.8584 GB, free: 68.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/1.272, allocations: 1.55 MB / 0.8599 GB, free: 66.48 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.272, allocations: 0 / 0.8599 GB, free: 66.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5465/1.818, allocations: 116.4 MB / 0.9736 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 52.1/53.92, allocations: 10.41 kB / 0.9736 GB, free: 186.7 MB / 0.5919 GB " [Timeout remaining time 606] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 57.193249756935984] Failed to read output from testmodel.py, exit status != 0: 54.11273159598932 54.136314073 53.569670884 Calling exit ...