Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Definitions.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.001356/0.001356, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001533/0.001533, allocations: 221.8 kB / 23 MB, free: 4.914 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1435/0.1435, allocations: 23.88 MB / 337.1 MB, free: 10.99 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: translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") [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.002477/0.002477, allocations: 71.89 kB / 472.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3865, allocations: 59.86 MB / 0.5198 GB, free: 9.812 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:465:5-465:64: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/Interfaces.mo:465:5-465:64: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.Definitions): time 0.07151/0.458, allocations: 23.67 MB / 0.5429 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.173/0.6311, allocations: 122.1 MB / 0.6621 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008483/0.6319, allocations: 7.938 kB / 0.6621 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003368/0.6353, allocations: 0.6608 MB / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004647/0.6399, allocations: 1.913 MB / 0.6646 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.6418, allocations: 0.5205 MB / 0.6651 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003761/0.6456, allocations: 2.003 MB / 0.6671 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.6457, allocations: 29.95 kB / 0.6671 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/0.6462, allocations: 374.8 kB / 0.6675 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008092/0.647, allocations: 490.5 kB / 0.6679 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.6471, allocations: 20 kB / 0.6679 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.6488, allocations: 0.6785 MB / 0.6686 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.649, allocations: 163.2 kB / 0.6688 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.6492, allocations: 226.3 kB / 0.669 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.6513, allocations: 1.662 MB / 0.6706 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6513, allocations: 0 / 0.6706 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6513, allocations: 0 / 0.6706 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.6514, allocations: 4 kB / 0.6706 GB, free: 15.01 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001483/0.6528, allocations: 1.017 MB / 0.6716 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6529, allocations: 12.03 kB / 0.6716 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006891/0.6536, allocations: 284 kB / 0.6719 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.6542, allocations: 366 kB / 0.6722 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.6542, allocations: 33.38 kB / 0.6723 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/0.6543, allocations: 48.36 kB / 0.6723 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.657, allocations: 2.625 MB / 0.6749 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.657, allocations: 0 / 0.6749 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.6571, allocations: 19.98 kB / 0.6749 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.6572, allocations: 89.27 kB / 0.675 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004204/0.6614, allocations: 4.234 MB / 0.6791 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004491/0.6659, allocations: 3.281 MB / 0.6823 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009299/0.6668, allocations: 489.9 kB / 0.6828 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.667, allocations: 112.8 kB / 0.6829 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004464/0.6715, allocations: 1.842 MB / 0.6847 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.6715, allocations: 42.5 kB / 0.6847 GB, free: 348 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.963e-06/0.6715, allocations: 0 / 0.6847 GB, free: 348 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0008648/0.6724, allocations: 465.7 kB / 0.6852 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.6725, allocations: 59.39 kB / 0.6852 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.6736, allocations: 0.9109 MB / 0.6861 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.6737, allocations: 29.7 kB / 0.6861 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.6742, allocations: 479.1 kB / 0.6866 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/0.6743, allocations: 111.2 kB / 0.6867 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/0.6746, allocations: 302.4 kB / 0.687 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.6748, allocations: 358.8 kB / 0.6873 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.6752, allocations: 226.5 kB / 0.6876 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.6762, allocations: 0.8882 MB / 0.6884 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.6782, allocations: 1.223 MB / 0.6896 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.6782, allocations: 8 kB / 0.6896 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001784/0.68, allocations: 1.119 MB / 0.6907 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.6801, allocations: 19.94 kB / 0.6907 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.6801, allocations: 24 kB / 0.6908 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.867e-05/0.6801, allocations: 32 kB / 0.6908 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009098/0.6811, allocations: 299.5 kB / 0.6911 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.655e-05/0.6811, allocations: 47.84 kB / 0.6911 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.6817, allocations: 143.3 kB / 0.6913 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.6819, allocations: 132 kB / 0.6914 GB, free: 8.801 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 6 (H2O_vaporization_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,O2_dissolving_props.definition.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005922/0.6825, allocations: 345.1 kB / 0.6917 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.6826, allocations: 87.38 kB / 0.6918 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.6843, allocations: 0.7821 MB / 0.6926 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.6843, allocations: 7.938 kB / 0.6926 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.6843, allocations: 0 / 0.6926 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6843, allocations: 0 / 0.6926 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.6849, allocations: 413 kB / 0.693 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6849, allocations: 0 / 0.693 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.6852, allocations: 111.9 kB / 0.6931 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6852, allocations: 3.938 kB / 0.6931 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.6852, allocations: 39.92 kB / 0.6931 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6852, allocations: 0 / 0.6931 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6852, allocations: 0 / 0.6931 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.6859, allocations: 483.2 kB / 0.6936 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/0.6865, allocations: 253.2 kB / 0.6938 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.6866, allocations: 3.938 kB / 0.6938 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.6868, allocations: 8 kB / 0.6938 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.6869, allocations: 43.95 kB / 0.6939 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.687, allocations: 91.98 kB / 0.6939 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008052/0.6878, allocations: 0.5654 MB / 0.6945 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6878, allocations: 0 / 0.6945 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009485/0.6888, allocations: 183.8 kB / 0.6947 GB, free: 5.348 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004213/0.6892, allocations: 231.1 kB / 0.6949 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009946/0.6902, allocations: 0.5751 MB / 0.6955 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6902, allocations: 0 / 0.6955 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.6904, allocations: 139.9 kB / 0.6956 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.691, allocations: 104.2 kB / 0.6957 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.6931, allocations: 1.35 MB / 0.697 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.6935, allocations: 367.5 kB / 0.6974 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/0.694, allocations: 191.2 kB / 0.6975 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.694, allocations: 0 / 0.6975 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of Templates: time 0.01653/0.7106, allocations: 10.25 MB / 0.7076 GB, free: 8.078 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Definitions.pipe >> ../files/Chemical_Chemical.Examples.Definitions.sim & ./Chemical_Chemical.Examples.Definitions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.664261220954359] Failed to read output from testmodel.py, exit status != 0: 0.720688255969435 0.735669787 0.081122253 Calling exit ...