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.001369/0.001369, allocations: 106.5 kB / 19.69 MB, free: 2.277 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.001592/0.001592, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.1476/0.1476, allocations: 23.9 MB / 337.1 MB, free: 11.16 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.002042/0.002042, allocations: 68.19 kB / 472.5 MB, free: 7.133 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3658, allocations: 59.87 MB / 0.5199 GB, free: 9.855 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.03981/0.4056, allocations: 23.86 MB / 0.5432 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.189/0.5946, allocations: 142.6 MB / 0.6824 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000481/0.5951, allocations: 7.938 kB / 0.6824 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.5974, allocations: 0.6609 MB / 0.6831 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004054/0.6015, allocations: 2.212 MB / 0.6852 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.6033, allocations: 0.5159 MB / 0.6857 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003974/0.6073, allocations: 2.006 MB / 0.6877 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.6074, allocations: 29.97 kB / 0.6877 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005341/0.608, allocations: 382.8 kB / 0.6881 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008606/0.6088, allocations: 498.6 kB / 0.6886 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.6089, allocations: 20 kB / 0.6886 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.612, allocations: 1.283 MB / 0.6898 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.6122, allocations: 151.3 kB / 0.69 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003581/0.6126, allocations: 317.8 kB / 0.6903 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003367/0.6159, allocations: 1.842 MB / 0.6921 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6159, allocations: 0 / 0.6921 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6159, allocations: 4 kB / 0.6921 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.616, allocations: 0 / 0.6921 GB, free: 9.199 MB / 0.5294 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.001635/0.6176, allocations: 1.017 MB / 0.6931 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.6176, allocations: 8.031 kB / 0.6931 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007132/0.6183, allocations: 292 kB / 0.6934 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.6189, allocations: 370 kB / 0.6937 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.619, allocations: 37.3 kB / 0.6938 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.6191, allocations: 40.38 kB / 0.6938 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.6218, allocations: 2.474 MB / 0.6962 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.6218, allocations: 0 / 0.6962 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.6218, allocations: 20 kB / 0.6962 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.622, allocations: 89.27 kB / 0.6963 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004489/0.6264, allocations: 4.242 MB / 0.7005 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004934/0.6314, allocations: 3.529 MB / 0.7039 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000941/0.6323, allocations: 487.2 kB / 0.7044 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.6325, allocations: 108.8 kB / 0.7045 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004798/0.6373, allocations: 1.865 MB / 0.7063 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.6374, allocations: 38.56 kB / 0.7063 GB, free: 10.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.6374, allocations: 0 / 0.7063 GB, free: 10.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.0009025/0.6383, allocations: 468.8 kB / 0.7068 GB, free: 9.938 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.6383, allocations: 55.41 kB / 0.7068 GB, free: 9.871 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.6394, allocations: 0.8762 MB / 0.7077 GB, free: 8.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.6395, allocations: 29.7 kB / 0.7077 GB, free: 8.953 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.6398, allocations: 479.1 kB / 0.7082 GB, free: 8.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.6399, allocations: 111.1 kB / 0.7083 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000357/0.6403, allocations: 298.4 kB / 0.7086 GB, free: 8.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.6405, allocations: 354.8 kB / 0.7089 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.6409, allocations: 230.5 kB / 0.7091 GB, free: 7.492 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.6419, allocations: 0.8922 MB / 0.71 GB, free: 6.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.6435, allocations: 1.223 MB / 0.7112 GB, free: 4.715 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.6435, allocations: 8 kB / 0.7112 GB, free: 4.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001746/0.6453, allocations: 1.123 MB / 0.7123 GB, free: 3.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.6453, allocations: 16 kB / 0.7123 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.6453, allocations: 28.09 kB / 0.7123 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.203e-05/0.6454, allocations: 35.94 kB / 0.7124 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.6462, allocations: 307.5 kB / 0.7127 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-05/0.6462, allocations: 39.86 kB / 0.7127 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.6468, allocations: 139 kB / 0.7128 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.6469, allocations: 132 kB / 0.713 GB, free: 2.895 MB / 0.545 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.0004828/0.6474, allocations: 337.7 kB / 0.7133 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6475, allocations: 87.38 kB / 0.7134 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.6493, allocations: 0.7859 MB / 0.7141 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.6494, allocations: 4 kB / 0.7141 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.6494, allocations: 0 / 0.7141 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6494, allocations: 4 kB / 0.7141 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.6501, allocations: 484.3 kB / 0.7146 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.6501, allocations: 3.938 kB / 0.7146 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.6503, allocations: 103.9 kB / 0.7147 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6503, allocations: 0 / 0.7147 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.6504, allocations: 39.92 kB / 0.7147 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6504, allocations: 4 kB / 0.7147 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6504, allocations: 0 / 0.7147 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.651, allocations: 479.2 kB / 0.7152 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005549/0.6516, allocations: 249.1 kB / 0.7154 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.6517, allocations: 8 kB / 0.7155 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.6519, allocations: 7.984 kB / 0.7155 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.652, allocations: 43.97 kB / 0.7155 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6521, allocations: 87.98 kB / 0.7156 GB, free: 120 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008506/0.6529, allocations: 0.5654 MB / 0.7161 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6529, allocations: 0 / 0.7161 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009656/0.6539, allocations: 187.7 kB / 0.7163 GB, free: 15.37 MB / 0.5606 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.0004431/0.6543, allocations: 230.3 kB / 0.7165 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009843/0.6553, allocations: 0.5827 MB / 0.7171 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6553, allocations: 0 / 0.7171 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.6555, allocations: 136.6 kB / 0.7172 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.6561, allocations: 107 kB / 0.7173 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.6587, allocations: 1.35 MB / 0.7187 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000817/0.6595, allocations: 0.9565 MB / 0.7196 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.66, allocations: 195.2 kB / 0.7198 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.66, allocations: 0 / 0.7198 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.01628/0.6763, allocations: 10.08 MB / 0.7296 GB, free: 1.664 MB / 0.5606 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.924132337007904] Failed to read output from testmodel.py, exit status != 0: 0.6853803900012281 0.898861339 0.280111636 Calling exit ...