Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001664/0.001664, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.00212/0.00212, allocations: 209.5 kB / 23 MB, free: 4.953 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1439/0.1439, allocations: 23.93 MB / 337.1 MB, free: 10.94 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: translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.001977/0.001977, allocations: 63.89 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3911, allocations: 59.88 MB / 0.5198 GB, free: 9.754 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:437:5-437: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 master/Interfaces.mo:437:5-437: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.07113/0.4623, allocations: 23.54 MB / 0.5428 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1752/0.6374, allocations: 122 MB / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005294/0.638, allocations: 8 kB / 0.662 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.6403, allocations: 0.5987 MB / 0.6626 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004018/0.6443, allocations: 1.951 MB / 0.6645 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.6462, allocations: 0.5166 MB / 0.665 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004173/0.6504, allocations: 2.01 MB / 0.6669 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.6505, allocations: 29.97 kB / 0.667 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.6511, allocations: 378.8 kB / 0.6673 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008364/0.6519, allocations: 0.4907 MB / 0.6678 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.652, allocations: 20 kB / 0.6678 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.6539, allocations: 0.6903 MB / 0.6685 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.654, allocations: 159.3 kB / 0.6686 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.6543, allocations: 234.3 kB / 0.6689 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.6567, allocations: 1.662 MB / 0.6705 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6567, allocations: 0 / 0.6705 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6567, allocations: 0 / 0.6705 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.6567, allocations: 0 / 0.6705 GB, free: 15.12 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.001684/0.6584, allocations: 1.017 MB / 0.6715 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.6584, allocations: 12.03 kB / 0.6715 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000723/0.6591, allocations: 288 kB / 0.6718 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/0.6597, allocations: 370 kB / 0.6721 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.6598, allocations: 37.36 kB / 0.6722 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.6598, allocations: 44.36 kB / 0.6722 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/0.6627, allocations: 2.625 MB / 0.6748 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.6627, allocations: 0 / 0.6748 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.6627, allocations: 16 kB / 0.6748 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.6628, allocations: 93.25 kB / 0.6749 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004444/0.6673, allocations: 4.234 MB / 0.679 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004836/0.6721, allocations: 3.293 MB / 0.6822 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/0.6731, allocations: 482.2 kB / 0.6827 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.6733, allocations: 108.8 kB / 0.6828 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00477/0.6781, allocations: 1.842 MB / 0.6846 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.6781, allocations: 34.5 kB / 0.6846 GB, free: 460 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 2.495e-06/0.6781, allocations: 4 kB / 0.6846 GB, free: 456 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0009204/0.679, allocations: 465.8 kB / 0.6851 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.6791, allocations: 55.34 kB / 0.6851 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.6802, allocations: 0.9148 MB / 0.686 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.6802, allocations: 29.7 kB / 0.686 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.6806, allocations: 487 kB / 0.6865 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.6807, allocations: 103.2 kB / 0.6866 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.6811, allocations: 306.4 kB / 0.6869 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.6813, allocations: 350.8 kB / 0.6872 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.6817, allocations: 238.5 kB / 0.6875 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.6827, allocations: 0.8844 MB / 0.6883 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.6843, allocations: 1.226 MB / 0.6895 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.6843, allocations: 8 kB / 0.6895 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001801/0.6861, allocations: 1.119 MB / 0.6906 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.6861, allocations: 19.94 kB / 0.6906 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/0.6861, allocations: 27.98 kB / 0.6907 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.532e-05/0.6862, allocations: 32 kB / 0.6907 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.687, allocations: 303.5 kB / 0.691 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.46e-05/0.687, allocations: 43.86 kB / 0.691 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005993/0.6876, allocations: 139.4 kB / 0.6912 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.6878, allocations: 128 kB / 0.6913 GB, free: 8.902 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.0004438/0.6883, allocations: 341.1 kB / 0.6916 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.6884, allocations: 91.38 kB / 0.6917 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.6902, allocations: 0.7862 MB / 0.6925 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.6902, allocations: 4 kB / 0.6925 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6902, allocations: 0 / 0.6925 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.6902, allocations: 0 / 0.6925 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.6908, allocations: 417 kB / 0.6929 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6908, allocations: 7.938 kB / 0.6929 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.6911, allocations: 107.9 kB / 0.693 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6911, allocations: 0 / 0.693 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/0.6912, allocations: 35.92 kB / 0.693 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6912, allocations: 0 / 0.693 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6912, allocations: 0 / 0.693 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007085/0.6919, allocations: 486.9 kB / 0.6935 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.6925, allocations: 245.2 kB / 0.6937 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.849e-05/0.6925, allocations: 7.938 kB / 0.6937 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.6928, allocations: 11.98 kB / 0.6937 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.6929, allocations: 43.97 kB / 0.6938 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.693, allocations: 83.98 kB / 0.6938 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007453/0.6937, allocations: 0.5654 MB / 0.6944 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6937, allocations: 3.938 kB / 0.6944 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009617/0.6947, allocations: 183.8 kB / 0.6946 GB, free: 5.449 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.0005025/0.6952, allocations: 231.2 kB / 0.6948 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009836/0.6962, allocations: 0.5789 MB / 0.6954 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6962, allocations: 0 / 0.6954 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.6964, allocations: 143.8 kB / 0.6955 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.697, allocations: 89.77 kB / 0.6956 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.6993, allocations: 1.362 MB / 0.6969 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.6997, allocations: 367.5 kB / 0.6973 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005504/0.7002, allocations: 195.2 kB / 0.6975 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.7002, allocations: 0 / 0.6975 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of Templates: time 0.01638/0.7166, allocations: 10.25 MB / 0.7075 GB, free: 8.172 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_master_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.Definitions.pipe >> ../files/Chemical_master_Chemical.Examples.Definitions.sim & ./Chemical_master_Chemical.Examples.Definitions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.945743215997936] Failed to read output from testmodel.py, exit status != 0: 0.7262588790035807 0.741907805 0.082148829 Calling exit ...