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.001303/0.001303, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001541/0.001541, allocations: 213.2 kB / 22.99 MB, free: 4.945 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.466/1.466, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1468/0.1468, allocations: 23.99 MB / 337.2 MB, free: 10.86 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.002394/0.002394, allocations: 59.91 kB / 472.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3701, allocations: 59.89 MB / 0.52 GB, free: 9.738 MB / 382.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.0688/0.4389, allocations: 23.68 MB / 0.5431 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1693/0.6081, allocations: 122 MB / 0.6622 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004407/0.6086, allocations: 7.938 kB / 0.6622 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.6108, allocations: 0.6104 MB / 0.6628 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003911/0.6147, allocations: 1.944 MB / 0.6647 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.6162, allocations: 0.5244 MB / 0.6652 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003658/0.6199, allocations: 2.003 MB / 0.6672 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.62, allocations: 25.95 kB / 0.6672 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006476/0.6206, allocations: 386.8 kB / 0.6676 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008782/0.6215, allocations: 486.6 kB / 0.668 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.875e-05/0.6216, allocations: 20 kB / 0.6681 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.6234, allocations: 0.6745 MB / 0.6687 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.6236, allocations: 151.3 kB / 0.6689 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.6238, allocations: 238.3 kB / 0.6691 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.6262, allocations: 1.658 MB / 0.6707 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6262, allocations: 0 / 0.6707 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6262, allocations: 0 / 0.6707 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.6262, allocations: 0 / 0.6707 GB, free: 14.9 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.001594/0.6278, allocations: 1.013 MB / 0.6717 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.6278, allocations: 15.95 kB / 0.6717 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007133/0.6285, allocations: 288 kB / 0.672 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/0.6291, allocations: 370 kB / 0.6723 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.6292, allocations: 29.38 kB / 0.6724 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.6292, allocations: 40.38 kB / 0.6724 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.6321, allocations: 2.625 MB / 0.675 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.6321, allocations: 7.938 kB / 0.675 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.6322, allocations: 20 kB / 0.675 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.6323, allocations: 81.27 kB / 0.6751 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005015/0.6373, allocations: 4.238 MB / 0.6792 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00503/0.6423, allocations: 3.296 MB / 0.6824 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009364/0.6432, allocations: 475.8 kB / 0.6829 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.6436, allocations: 113.3 kB / 0.683 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004528/0.6481, allocations: 1.838 MB / 0.6848 GB, free: 292 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.6481, allocations: 42.44 kB / 0.6848 GB, free: 240 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/0.6481, allocations: 0 / 0.6848 GB, free: 240 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0009001/0.649, allocations: 461.8 kB / 0.6853 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.6491, allocations: 55.41 kB / 0.6853 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.6503, allocations: 0.9148 MB / 0.6862 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.6503, allocations: 29.7 kB / 0.6862 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.6507, allocations: 475.1 kB / 0.6867 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.6508, allocations: 111.2 kB / 0.6868 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004585/0.6513, allocations: 306.4 kB / 0.6871 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.6515, allocations: 358.8 kB / 0.6874 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.6519, allocations: 226.5 kB / 0.6877 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.653, allocations: 0.8921 MB / 0.6885 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.6545, allocations: 1.223 MB / 0.6897 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.6545, allocations: 8 kB / 0.6897 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00189/0.6564, allocations: 1.127 MB / 0.6908 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.6564, allocations: 15.94 kB / 0.6908 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.301e-05/0.6564, allocations: 24 kB / 0.6909 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.326e-05/0.6565, allocations: 32 kB / 0.6909 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.6572, allocations: 303.5 kB / 0.6912 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.403e-05/0.6573, allocations: 47.8 kB / 0.6912 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.6578, allocations: 139.4 kB / 0.6914 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.658, allocations: 132 kB / 0.6915 GB, free: 8.691 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.000445/0.6584, allocations: 337.1 kB / 0.6918 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.6585, allocations: 87.38 kB / 0.6919 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.6603, allocations: 0.786 MB / 0.6927 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.6603, allocations: 0 / 0.6927 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6603, allocations: 0 / 0.6927 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6603, allocations: 7.984 kB / 0.6927 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.6609, allocations: 416.9 kB / 0.6931 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.6609, allocations: 0 / 0.6931 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.6612, allocations: 107.9 kB / 0.6932 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.6612, allocations: 4 kB / 0.6932 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/0.6612, allocations: 31.92 kB / 0.6932 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.6613, allocations: 4 kB / 0.6932 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6613, allocations: 0 / 0.6932 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007208/0.662, allocations: 479.2 kB / 0.6937 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.6626, allocations: 253.2 kB / 0.6939 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.51e-05/0.6627, allocations: 11.94 kB / 0.6939 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.6629, allocations: 11.94 kB / 0.6939 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.6629, allocations: 39.95 kB / 0.694 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.6631, allocations: 87.98 kB / 0.6941 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006956/0.6638, allocations: 0.5692 MB / 0.6946 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6638, allocations: 4 kB / 0.6946 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000849/0.6646, allocations: 179.8 kB / 0.6948 GB, free: 5.242 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.0004296/0.665, allocations: 235.1 kB / 0.695 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.6661, allocations: 0.5829 MB / 0.6956 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6661, allocations: 0 / 0.6956 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.6663, allocations: 139.8 kB / 0.6957 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.6669, allocations: 101.4 kB / 0.6958 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.6688, allocations: 1.346 MB / 0.6971 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.6692, allocations: 367.5 kB / 0.6975 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.6698, allocations: 187.2 kB / 0.6976 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.6698, allocations: 0 / 0.6976 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of Templates: time 0.01608/0.6859, allocations: 10.26 MB / 0.7077 GB, free: 7.965 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.627775231841952] Failed to read output from testmodel.py, exit status != 0: 0.6951960087753832 0.7097688860000001 0.080577391 Calling exit ...