Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST.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.001346/0.001346, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.00127/0.00127, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.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.09803/0.09803, allocations: 15.54 MB / 318.2 MB, free: 13.51 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_NIST,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002672/0.002672, allocations: 72.02 kB / 444.9 MB, free: 76 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2738, allocations: 56.56 MB / 0.4897 GB, free: 20.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.0115/0.2853, allocations: 14.83 MB / 0.5042 GB, free: 9.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05689/0.3422, allocations: 49.23 MB / 0.5523 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003029/0.3453, allocations: 35.81 kB / 0.5523 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003422/0.3487, allocations: 1.106 MB / 0.5534 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.3593, allocations: 3.441 MB / 0.5568 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0183/0.3776, allocations: 6.989 MB / 0.5636 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007375/0.385, allocations: 4.494 MB / 0.568 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/0.388, allocations: 1.905 MB / 0.5698 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.3917, allocations: 2.061 MB / 0.5719 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004382/0.3961, allocations: 2.316 MB / 0.5741 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.3972, allocations: 384 kB / 0.5745 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02018/0.4174, allocations: 5.585 MB / 0.5799 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.4188, allocations: 0.8878 MB / 0.5808 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002898/0.4217, allocations: 1.952 MB / 0.5827 GB, free: 8.367 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0236/0.4453, allocations: 10 MB / 0.5925 GB, free: 14.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4454, allocations: 0 / 0.5925 GB, free: 14.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4454, allocations: 0 / 0.5925 GB, free: 14.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001064/0.4455, allocations: 0 / 0.5925 GB, free: 14.33 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.00963/0.4551, allocations: 4.805 MB / 0.5972 GB, free: 9.445 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4551, allocations: 8.031 kB / 0.5972 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005185/0.4557, allocations: 422.4 kB / 0.5976 GB, free: 9.012 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004155/0.4598, allocations: 0.9308 MB / 0.5985 GB, free: 8.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/0.4632, allocations: 1.611 MB / 0.6001 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.4634, allocations: 230.6 kB / 0.6003 GB, free: 6.188 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005933/0.464, allocations: 328.3 kB / 0.6006 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007637/0.4716, allocations: 4.464 MB / 0.605 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.019e-05/0.4717, allocations: 0 / 0.605 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/0.472, allocations: 123.9 kB / 0.6051 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.489e-05/0.472, allocations: 76 kB / 0.6051 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2569/0.729, allocations: 6.363 MB / 0.6114 GB, free: 97.01 MB / 462.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.02061/0.7496, allocations: 12.63 MB / 0.6237 GB, free: 90.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006028/0.7556, allocations: 4.471 MB / 0.6281 GB, free: 87.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.7572, allocations: 1.172 MB / 0.6292 GB, free: 87.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01376/0.7709, allocations: 12.16 MB / 0.6411 GB, free: 76.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.771, allocations: 55.34 kB / 0.6411 GB, free: 76.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=182): time 3.437e-06/0.771, allocations: 0 / 0.6411 GB, free: 76.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.04174/0.8127, allocations: 9.886 MB / 0.6508 GB, free: 68.19 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.8128, allocations: 135.5 kB / 0.6509 GB, free: 68.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.8159, allocations: 3.31 MB / 0.6541 GB, free: 64.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003831/0.8163, allocations: 69.69 kB / 0.6542 GB, free: 64.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009163/0.8172, allocations: 1.634 MB / 0.6558 GB, free: 63.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007923/0.818, allocations: 0.8403 MB / 0.6566 GB, free: 62.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.8192, allocations: 0.6865 MB / 0.6573 GB, free: 61.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.8193, allocations: 309 kB / 0.6576 GB, free: 61.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/0.822, allocations: 1.381 MB / 0.6589 GB, free: 60.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003418/0.8254, allocations: 2.483 MB / 0.6614 GB, free: 57.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005858/0.8313, allocations: 3.594 MB / 0.6649 GB, free: 53.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.148e-05/0.8313, allocations: 8 kB / 0.6649 GB, free: 53.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.02025/0.8516, allocations: 4.976 MB / 0.6697 GB, free: 48.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.8516, allocations: 22.84 kB / 0.6698 GB, free: 48.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.521e-05/0.8517, allocations: 40 kB / 0.6698 GB, free: 48.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/0.8618, allocations: 0.7058 MB / 0.6705 GB, free: 47.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005356/0.8672, allocations: 0.8383 MB / 0.6713 GB, free: 46.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/0.8898, allocations: 11.55 MB / 0.6826 GB, free: 34.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005134/0.895, allocations: 116 kB / 0.6827 GB, free: 34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005293/0.8955, allocations: 204 kB / 0.6829 GB, free: 33.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * 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 {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001478/0.897, allocations: 0.5338 MB / 0.6834 GB, free: 33.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009296/0.8979, allocations: 278.1 kB / 0.6837 GB, free: 33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/0.9125, allocations: 3.218 MB / 0.6868 GB, free: 29.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.9125, allocations: 20 kB / 0.6868 GB, free: 29.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.9125, allocations: 8 kB / 0.6869 GB, free: 29.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.699e-05/0.9125, allocations: 11.95 kB / 0.6869 GB, free: 29.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/0.9161, allocations: 2.595 MB / 0.6894 GB, free: 27.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.9161, allocations: 4 kB / 0.6894 GB, free: 27.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.9177, allocations: 447.8 kB / 0.6898 GB, free: 26.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005818/0.9235, allocations: 0.6752 MB / 0.6905 GB, free: 25.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/0.9237, allocations: 83.95 kB / 0.6906 GB, free: 25.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/0.936, allocations: 11.29 MB / 0.7016 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.936, allocations: 4 kB / 0.7016 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/0.9469, allocations: 4.157 MB / 0.7057 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.9481, allocations: 328 kB / 0.706 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007656/0.9489, allocations: 55.92 kB / 0.706 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/0.9508, allocations: 48 kB / 0.7061 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005525/0.9513, allocations: 205.7 kB / 0.7063 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/0.9515, allocations: 95.89 kB / 0.7064 GB, free: 8.793 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002463/0.954, allocations: 2.342 MB / 0.7086 GB, free: 6.438 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.954, allocations: 0 / 0.7086 GB, free: 6.438 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007192/0.9612, allocations: 2.113 MB / 0.7107 GB, free: 4.348 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.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 (236): * Single equations (assignments): 230 * 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 {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01601/0.9772, allocations: 6.879 MB / 0.7174 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007474/0.9847, allocations: 3.618 MB / 0.721 GB, free: 9.961 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.9847, allocations: 0 / 0.721 GB, free: 9.961 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003343/0.988, allocations: 1.77 MB / 0.7227 GB, free: 8.121 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/0.9908, allocations: 0.5078 MB / 0.7232 GB, free: 7.621 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05706/1.048, allocations: 25.92 MB / 0.7485 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/1.049, allocations: 1.717 MB / 0.7502 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002411/1.052, allocations: 0.6169 MB / 0.7508 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/1.054, allocations: 1.428 MB / 0.7522 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/1.054, allocations: 0 / 0.7522 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.436/1.49, allocations: 92.75 MB / 0.8427 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.26/21.75, allocations: 0 / 0.8427 GB, free: 190.6 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility_NIST.fmu > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.653404948767275] Failed to read output from testmodel.py, exit status != 0: 21.908484037965536 21.928143575 21.478535684 Calling exit ...