Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.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.001658/0.001658, allocations: 104.4 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.001953/0.001953, allocations: 192.6 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.433/1.433, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.08627/0.08627, allocations: 15.54 MB / 318.2 MB, free: 10.23 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.GasSolubility,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 444.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1105, allocations: 56.54 MB / 0.4897 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01181/0.1223, allocations: 10.37 MB / 0.4998 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2563/0.3786, allocations: 32.99 MB / 0.532 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.3802, allocations: 27.12 kB / 0.5321 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.3823, allocations: 0.6936 MB / 0.5327 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008995/0.3913, allocations: 2.65 MB / 0.5353 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01353/0.4048, allocations: 4.306 MB / 0.5395 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005283/0.4101, allocations: 3.013 MB / 0.5425 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.4123, allocations: 1.367 MB / 0.5438 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.4145, allocations: 1.454 MB / 0.5452 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.4172, allocations: 1.634 MB / 0.5468 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005658/0.4177, allocations: 263.5 kB / 0.5471 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01399/0.4317, allocations: 3.663 MB / 0.5507 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.4329, allocations: 0.6054 MB / 0.5513 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002203/0.4351, allocations: 1.329 MB / 0.5526 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0201/0.4552, allocations: 6.656 MB / 0.5591 GB, free: 3.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4552, allocations: 0 / 0.5591 GB, free: 3.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4552, allocations: 0 / 0.5591 GB, free: 3.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001694/0.4554, allocations: 0 / 0.5591 GB, free: 3.336 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.0102/0.4656, allocations: 3.31 MB / 0.5623 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.4656, allocations: 12.03 kB / 0.5623 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006741/0.4663, allocations: 295.8 kB / 0.5626 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.4694, allocations: 0.5813 MB / 0.5631 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.472, allocations: 1.135 MB / 0.5643 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.4721, allocations: 156.6 kB / 0.5644 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.4725, allocations: 220.3 kB / 0.5646 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004749/0.4773, allocations: 2.795 MB / 0.5673 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.365e-05/0.4773, allocations: 3.938 kB / 0.5673 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.4775, allocations: 84 kB / 0.5674 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-05/0.4776, allocations: 52 kB / 0.5675 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/0.4836, allocations: 3.792 MB / 0.5712 GB, free: 7.27 MB / 414.1 MB 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.01636/0.5, allocations: 8.34 MB / 0.5793 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006393/0.5063, allocations: 3.829 MB / 0.5831 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.508, allocations: 0.9123 MB / 0.584 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01512/0.5232, allocations: 9.223 MB / 0.593 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.5232, allocations: 47.88 kB / 0.593 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007849/0.524, allocations: 194.6 kB / 0.5932 GB, free: 15.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=138): time 3.867e-06/0.524, allocations: 0 / 0.5932 GB, free: 15.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=170): time 0.03185/0.5558, allocations: 6.415 MB / 0.5995 GB, free: 8.703 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.5559, allocations: 69.41 kB / 0.5995 GB, free: 8.621 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.5583, allocations: 1.667 MB / 0.6011 GB, free: 6.941 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003033/0.5586, allocations: 57.7 kB / 0.6012 GB, free: 6.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008397/0.5594, allocations: 1.073 MB / 0.6023 GB, free: 5.793 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007618/0.5602, allocations: 0.6198 MB / 0.6029 GB, free: 5.168 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007313/0.5609, allocations: 476.8 kB / 0.6033 GB, free: 4.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5611, allocations: 305.1 kB / 0.6036 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.5625, allocations: 0.8013 MB / 0.6044 GB, free: 3.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.5647, allocations: 1.593 MB / 0.6059 GB, free: 1.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/0.5686, allocations: 2.421 MB / 0.6083 GB, free: 14.85 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.136e-05/0.5687, allocations: 4 kB / 0.6083 GB, free: 14.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009548/0.5782, allocations: 3.124 MB / 0.6114 GB, free: 11.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.5782, allocations: 24.14 kB / 0.6114 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.75e-05/0.5783, allocations: 24 kB / 0.6114 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004104/0.5824, allocations: 486.9 kB / 0.6119 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/0.5846, allocations: 0.5889 MB / 0.6124 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.5964, allocations: 7.7 MB / 0.62 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.5983, allocations: 91.98 kB / 0.6201 GB, free: 2.242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.5985, allocations: 136 kB / 0.6202 GB, free: 2.109 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000812/0.5993, allocations: 430.8 kB / 0.6206 GB, free: 1.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/0.5997, allocations: 178.8 kB / 0.6208 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007891/0.6076, allocations: 2.393 MB / 0.6231 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.6076, allocations: 16 kB / 0.6231 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.6076, allocations: 3.984 kB / 0.6231 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-05/0.6077, allocations: 11.97 kB / 0.6231 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.6111, allocations: 1.867 MB / 0.625 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.6111, allocations: 0 / 0.625 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.6125, allocations: 343.6 kB / 0.6253 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003878/0.6164, allocations: 463.1 kB / 0.6257 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/0.6167, allocations: 63.97 kB / 0.6258 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.6282, allocations: 7.526 MB / 0.6331 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/0.6282, allocations: 8.094 kB / 0.6331 GB, free: 4.164 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009479/0.6377, allocations: 3.012 MB / 0.6361 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/0.6383, allocations: 243.8 kB / 0.6363 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.6386, allocations: 43.98 kB / 0.6364 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009342/0.6395, allocations: 36 kB / 0.6364 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/0.6398, allocations: 149.8 kB / 0.6365 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.64, allocations: 75.97 kB / 0.6366 GB, free: 0.543 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001537/0.6415, allocations: 1.13 MB / 0.6377 GB, free: 15.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6415, allocations: 3.938 kB / 0.6377 GB, free: 15.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004231/0.6458, allocations: 1.383 MB / 0.6391 GB, free: 14.02 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01239/0.6581, allocations: 4.963 MB / 0.6439 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004669/0.6628, allocations: 2.387 MB / 0.6462 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6628, allocations: 0 / 0.6462 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002234/0.665, allocations: 1.277 MB / 0.6475 GB, free: 5.238 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.667, allocations: 369.3 kB / 0.6478 GB, free: 4.883 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03556/0.7026, allocations: 16.53 MB / 0.664 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.7038, allocations: 1.374 MB / 0.6653 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002087/0.7059, allocations: 433.9 kB / 0.6657 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/0.7076, allocations: 0.9553 MB / 0.6667 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of SimCode: time 2.284e-06/0.7076, allocations: 4 kB / 0.6667 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3338/1.041, allocations: 62.47 MB / 0.7277 GB, free: 180.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.67/20.71, allocations: 5.078 kB / 0.7277 GB, free: 180.1 MB / 0.545 GB " [Timeout remaining time 639] (rm -f Chemical_Chemical.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility.fmu > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.507877475582063] Failed to read output from testmodel.py, exit status != 0: 20.84619753435254 20.867924355 20.408211436 Calling exit ...