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.001661/0.001661, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001683/0.001683, allocations: 155.8 kB / 23.01 MB, free: 4.602 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.364/1.364, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] 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.1272/0.1272, allocations: 17.44 MB / 277.2 MB, free: 15.21 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.002044/0.002044, allocations: 63.91 kB / 412.6 MB, free: 5.594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, allocations: 59.88 MB / 472.5 MB, free: 9.598 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:447:5-447: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:447:5-447: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.4148/0.5233, allocations: 23.63 MB / 496.1 MB, free: 39.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1366/0.66, allocations: 122 MB / 0.6036 GB, free: 13.75 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.6603, allocations: 11.94 kB / 0.6036 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.6623, allocations: 0.6065 MB / 0.6042 GB, free: 13.12 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.6656, allocations: 1.947 MB / 0.6061 GB, free: 11.17 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.6671, allocations: 0.5205 MB / 0.6066 GB, free: 10.64 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.003597/0.6707, allocations: 1.999 MB / 0.6086 GB, free: 8.641 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.6708, allocations: 25.97 kB / 0.6086 GB, free: 8.609 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005149/0.6714, allocations: 382.8 kB / 0.609 GB, free: 8.234 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007627/0.6721, allocations: 490.5 kB / 0.6094 GB, free: 7.754 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.6722, allocations: 16 kB / 0.6094 GB, free: 7.738 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.6739, allocations: 0.6824 MB / 0.6101 GB, free: 7.055 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.6741, allocations: 155.3 kB / 0.6103 GB, free: 6.902 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.6743, allocations: 226.4 kB / 0.6105 GB, free: 6.68 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.6765, allocations: 1.662 MB / 0.6121 GB, free: 5.012 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6765, allocations: 3.938 kB / 0.6121 GB, free: 5.008 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6765, allocations: 0 / 0.6121 GB, free: 5.008 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.6765, allocations: 0 / 0.6121 GB, free: 5.008 MB / 0.4982 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.001509/0.678, allocations: 1.014 MB / 0.6131 GB, free: 3.961 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.678, allocations: 15.97 kB / 0.6131 GB, free: 3.945 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006907/0.6787, allocations: 288.1 kB / 0.6134 GB, free: 3.664 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.6793, allocations: 366 kB / 0.6137 GB, free: 3.277 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.6793, allocations: 29.38 kB / 0.6138 GB, free: 3.25 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.6794, allocations: 52.3 kB / 0.6138 GB, free: 3.199 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.6821, allocations: 2.621 MB / 0.6164 GB, free: 0.5234 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.6821, allocations: 0 / 0.6164 GB, free: 0.5234 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.6821, allocations: 27.98 kB / 0.6164 GB, free: 0.4961 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.937e-05/0.6822, allocations: 85.27 kB / 0.6165 GB, free: 424 kB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004215/0.6864, allocations: 4.238 MB / 0.6206 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004366/0.6908, allocations: 3.284 MB / 0.6238 GB, free: 8.844 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009399/0.6917, allocations: 475.4 kB / 0.6243 GB, free: 8.371 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.6919, allocations: 112.8 kB / 0.6244 GB, free: 8.258 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004342/0.6963, allocations: 1.844 MB / 0.6262 GB, free: 6.391 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.6963, allocations: 38.5 kB / 0.6262 GB, free: 6.344 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/0.6963, allocations: 0 / 0.6262 GB, free: 6.344 MB / 0.5138 GB Notification: Performance of matching and sorting (n=25): time 0.0008197/0.6971, allocations: 466.4 kB / 0.6267 GB, free: 5.883 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.6972, allocations: 55.41 kB / 0.6267 GB, free: 5.816 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.6982, allocations: 0.9148 MB / 0.6276 GB, free: 4.895 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.6983, allocations: 33.7 kB / 0.6276 GB, free: 4.855 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.6986, allocations: 475.1 kB / 0.6281 GB, free: 4.383 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.6987, allocations: 107.2 kB / 0.6282 GB, free: 4.277 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.6991, allocations: 306.4 kB / 0.6285 GB, free: 3.973 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.6992, allocations: 358.8 kB / 0.6288 GB, free: 3.613 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.6996, allocations: 226.5 kB / 0.629 GB, free: 3.395 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009349/0.7005, allocations: 0.8882 MB / 0.6299 GB, free: 2.176 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.702, allocations: 1.223 MB / 0.6311 GB, free: 0.6211 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.702, allocations: 8 kB / 0.6311 GB, free: 0.6133 MB / 0.5138 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001678/0.7037, allocations: 1.122 MB / 0.6322 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.7037, allocations: 15.94 kB / 0.6322 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.7037, allocations: 24 kB / 0.6322 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/0.7038, allocations: 32.75 kB / 0.6323 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/0.7045, allocations: 303.5 kB / 0.6326 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-05/0.7045, allocations: 47.84 kB / 0.6326 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.705, allocations: 143 kB / 0.6327 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.7052, allocations: 132 kB / 0.6329 GB, free: 14.8 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.0003971/0.7056, allocations: 337.1 kB / 0.6332 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.7057, allocations: 87.38 kB / 0.6333 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.7073, allocations: 0.7821 MB / 0.634 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.7074, allocations: 0 / 0.634 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.7074, allocations: 0 / 0.634 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7074, allocations: 7.984 kB / 0.6341 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.7079, allocations: 424.8 kB / 0.6345 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7079, allocations: 0 / 0.6345 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.7082, allocations: 104 kB / 0.6346 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.7082, allocations: 0 / 0.6346 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.7082, allocations: 35.92 kB / 0.6346 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7082, allocations: 0 / 0.6346 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7082, allocations: 7.938 kB / 0.6346 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/0.7089, allocations: 479.2 kB / 0.6351 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.7093, allocations: 249.2 kB / 0.6353 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.7094, allocations: 11.94 kB / 0.6353 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.7096, allocations: 12 kB / 0.6353 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.7097, allocations: 39.95 kB / 0.6354 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.7098, allocations: 83.98 kB / 0.6354 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006607/0.7105, allocations: 0.5654 MB / 0.636 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7105, allocations: 0 / 0.636 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008647/0.7113, allocations: 187.8 kB / 0.6362 GB, free: 11.36 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.0003856/0.7117, allocations: 231.2 kB / 0.6364 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009195/0.7126, allocations: 0.579 MB / 0.637 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7126, allocations: 0.5 kB / 0.637 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.7129, allocations: 135.9 kB / 0.6371 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.7134, allocations: 96.86 kB / 0.6372 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.7153, allocations: 1.295 MB / 0.6384 GB, free: 9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.7157, allocations: 363.6 kB / 0.6388 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00135/0.7171, allocations: 0.5083 MB / 0.6393 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/0.7175, allocations: 148.3 kB / 0.6394 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.7175, allocations: 0 / 0.6394 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of Templates: time 0.01572/0.7332, allocations: 8.558 MB / 0.6478 GB, free: 15.51 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.13338253099937] Failed to read output from testmodel.py, exit status != 0: 0.7417511999374256 0.756670729 0.077155154 Calling exit ...