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.001332/0.001332, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001646/0.001646, allocations: 212.2 kB / 22.24 MB, free: 4.855 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.789 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.1479/0.1479, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.002275/0.002275, allocations: 67.89 kB / 471.6 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3603, allocations: 59.86 MB / 0.519 GB, free: 9.832 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.07254/0.4329, allocations: 23.66 MB / 0.5421 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1617/0.5946, allocations: 122.1 MB / 0.6613 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004545/0.595, allocations: 4 kB / 0.6613 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.5974, allocations: 0.6687 MB / 0.662 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.601, allocations: 1.909 MB / 0.6639 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.6026, allocations: 0.5128 MB / 0.6644 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003497/0.6061, allocations: 2.014 MB / 0.6663 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.6062, allocations: 29.95 kB / 0.6664 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.6067, allocations: 374.8 kB / 0.6667 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007362/0.6074, allocations: 490.5 kB / 0.6672 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-05/0.6075, allocations: 20 kB / 0.6672 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.6093, allocations: 0.6745 MB / 0.6679 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.6095, allocations: 163.3 kB / 0.668 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.6097, allocations: 226.4 kB / 0.6682 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.6117, allocations: 1.67 MB / 0.6699 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6117, allocations: 0 / 0.6699 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6117, allocations: 0 / 0.6699 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.6117, allocations: 0 / 0.6699 GB, free: 14.95 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.001502/0.6132, allocations: 1.017 MB / 0.6709 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6133, allocations: 8.031 kB / 0.6709 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006765/0.6139, allocations: 288 kB / 0.6711 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.6145, allocations: 366 kB / 0.6715 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.6145, allocations: 33.38 kB / 0.6715 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.6146, allocations: 44.36 kB / 0.6716 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.6172, allocations: 2.629 MB / 0.6741 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.6173, allocations: 0 / 0.6741 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.6173, allocations: 19.98 kB / 0.6741 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-05/0.6174, allocations: 89.27 kB / 0.6742 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004252/0.6217, allocations: 4.234 MB / 0.6784 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004362/0.626, allocations: 3.289 MB / 0.6816 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009404/0.627, allocations: 485.8 kB / 0.682 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.6272, allocations: 112.8 kB / 0.6821 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004343/0.6315, allocations: 1.838 MB / 0.6839 GB, free: 344 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.6315, allocations: 38.5 kB / 0.684 GB, free: 296 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.744e-06/0.6315, allocations: 0 / 0.684 GB, free: 296 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0008282/0.6324, allocations: 462 kB / 0.6844 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.6324, allocations: 63.34 kB / 0.6845 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.6335, allocations: 0.9109 MB / 0.6854 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.6335, allocations: 29.7 kB / 0.6854 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.6338, allocations: 483.1 kB / 0.6859 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.6339, allocations: 107.2 kB / 0.686 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003446/0.6343, allocations: 302.4 kB / 0.6862 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6345, allocations: 358.8 kB / 0.6866 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.6348, allocations: 230.5 kB / 0.6868 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008877/0.6357, allocations: 0.8883 MB / 0.6877 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.6371, allocations: 1.215 MB / 0.6889 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.6371, allocations: 12 kB / 0.6889 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001665/0.6388, allocations: 1.127 MB / 0.69 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.6388, allocations: 19.75 kB / 0.69 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.6388, allocations: 24 kB / 0.69 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/0.6389, allocations: 28 kB / 0.69 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/0.6396, allocations: 295.6 kB / 0.6903 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.32e-05/0.6396, allocations: 51.78 kB / 0.6904 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.6402, allocations: 143.4 kB / 0.6905 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.6403, allocations: 132 kB / 0.6906 GB, free: 8.746 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.0004092/0.6407, allocations: 341.1 kB / 0.691 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.6408, allocations: 87.38 kB / 0.691 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.6425, allocations: 0.7784 MB / 0.6918 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6425, allocations: 0 / 0.6918 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6425, allocations: 4 kB / 0.6918 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.6425, allocations: 7.922 kB / 0.6918 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.643, allocations: 413 kB / 0.6922 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.643, allocations: 4 kB / 0.6922 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.6433, allocations: 103.9 kB / 0.6923 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.6433, allocations: 11.94 kB / 0.6923 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.6433, allocations: 31.98 kB / 0.6924 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.872e-06/0.6433, allocations: 7.984 kB / 0.6924 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6433, allocations: 0 / 0.6924 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.644, allocations: 482.9 kB / 0.6928 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/0.6445, allocations: 253.2 kB / 0.6931 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/0.6446, allocations: 7.938 kB / 0.6931 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.6448, allocations: 8 kB / 0.6931 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.6449, allocations: 43.95 kB / 0.6931 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.645, allocations: 87.98 kB / 0.6932 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000678/0.6457, allocations: 0.5693 MB / 0.6938 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6457, allocations: 0 / 0.6938 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008326/0.6465, allocations: 183.8 kB / 0.6939 GB, free: 5.289 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.0004345/0.6469, allocations: 227.1 kB / 0.6942 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009089/0.6479, allocations: 0.5827 MB / 0.6947 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6479, allocations: 0 / 0.6947 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.6481, allocations: 136.6 kB / 0.6949 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.6486, allocations: 95.23 kB / 0.6949 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.6505, allocations: 1.283 MB / 0.6962 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.6509, allocations: 367.5 kB / 0.6965 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001358/0.6523, allocations: 0.4966 MB / 0.697 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.6527, allocations: 147.3 kB / 0.6972 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.6527, allocations: 0 / 0.6972 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.01631/0.669, allocations: 9.074 MB / 0.706 GB, free: 8.941 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: 5.425208332017064] Failed to read output from testmodel.py, exit status != 0: 0.6778961531817913 0.692043196 0.07701950099999995 Calling exit ...