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.001479/0.001479, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.001744/0.001744, allocations: 164 kB / 22.46 MB, free: 5.359 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.1324/0.1324, allocations: 17.37 MB / 276.5 MB, free: 15.31 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 412 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.885e-05, allocations: 2.281 kB / 412 MB, free: 4.449 MB / 334.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.0326/0.03263, allocations: 23.97 MB / 435.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3678/0.4005, allocations: 122.1 MB / 0.545 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.4008, allocations: 15.88 kB / 0.545 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.4032, allocations: 0.6565 MB / 0.5456 GB, free: 6.215 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.4067, allocations: 1.932 MB / 0.5475 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.4083, allocations: 0.5203 MB / 0.548 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004221/0.4125, allocations: 2.043 MB / 0.55 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.4126, allocations: 25.91 kB / 0.55 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.4132, allocations: 455 kB / 0.5505 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008057/0.414, allocations: 463.2 kB / 0.5509 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.204e-05/0.4141, allocations: 16 kB / 0.5509 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.4161, allocations: 0.6783 MB / 0.5516 GB, free: 100 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.4163, allocations: 163.3 kB / 0.5517 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.4166, allocations: 163.4 kB / 0.5519 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.4189, allocations: 1.663 MB / 0.5535 GB, free: 14.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4189, allocations: 4 kB / 0.5535 GB, free: 14.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4189, allocations: 0 / 0.5535 GB, free: 14.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4189, allocations: 0 / 0.5535 GB, free: 14.11 MB / 446.1 MB 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.001676/0.4206, allocations: 1.009 MB / 0.5545 GB, free: 13.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.4207, allocations: 8.031 kB / 0.5545 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007549/0.4214, allocations: 290.6 kB / 0.5548 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.422, allocations: 366.3 kB / 0.5551 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.4221, allocations: 41.36 kB / 0.5552 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.4221, allocations: 40.38 kB / 0.5552 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.4251, allocations: 2.629 MB / 0.5578 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.4252, allocations: 192 / 0.5578 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.4252, allocations: 16.56 kB / 0.5578 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.4253, allocations: 97.19 kB / 0.5579 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/0.4299, allocations: 4.226 MB / 0.562 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004552/0.4344, allocations: 3.281 MB / 0.5652 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.4354, allocations: 479.1 kB / 0.5657 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.4357, allocations: 112.8 kB / 0.5658 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00446/0.4401, allocations: 1.854 MB / 0.5676 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.4401, allocations: 30.56 kB / 0.5676 GB, free: 15.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.4401, allocations: 0 / 0.5676 GB, free: 15.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008819/0.441, allocations: 468.9 kB / 0.5681 GB, free: 14.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.4411, allocations: 59.34 kB / 0.5681 GB, free: 14.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.4423, allocations: 0.9109 MB / 0.569 GB, free: 13.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.4423, allocations: 29.7 kB / 0.5691 GB, free: 13.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.4427, allocations: 479.1 kB / 0.5695 GB, free: 13.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/0.4427, allocations: 99.22 kB / 0.5696 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.4431, allocations: 294.4 kB / 0.5699 GB, free: 13.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4433, allocations: 358.8 kB / 0.5702 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.4437, allocations: 230.5 kB / 0.5704 GB, free: 12.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.4447, allocations: 0.8882 MB / 0.5713 GB, free: 11.28 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.4462, allocations: 1.219 MB / 0.5725 GB, free: 9.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.4462, allocations: 14.62 kB / 0.5725 GB, free: 9.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00184/0.4481, allocations: 1.131 MB / 0.5736 GB, free: 8.582 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.4481, allocations: 16 kB / 0.5736 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.539e-05/0.4481, allocations: 24 kB / 0.5737 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.375e-05/0.4482, allocations: 32 kB / 0.5737 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.4489, allocations: 303.4 kB / 0.574 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.174e-05/0.449, allocations: 43.86 kB / 0.574 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.4495, allocations: 135.5 kB / 0.5742 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.4497, allocations: 132 kB / 0.5743 GB, free: 7.91 MB / 462.1 MB 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.0004509/0.4501, allocations: 343.6 kB / 0.5746 GB, free: 7.566 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.4503, allocations: 87.44 kB / 0.5747 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.4521, allocations: 0.7785 MB / 0.5754 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4521, allocations: 4 kB / 0.5755 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4521, allocations: 3.938 kB / 0.5755 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.4522, allocations: 3.984 kB / 0.5755 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.4528, allocations: 419.6 kB / 0.5759 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4528, allocations: 4 kB / 0.5759 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.453, allocations: 107.9 kB / 0.576 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.453, allocations: 0 / 0.576 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.4531, allocations: 34.7 kB / 0.576 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4531, allocations: 0 / 0.576 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4531, allocations: 0 / 0.576 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007173/0.4538, allocations: 486.7 kB / 0.5765 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/0.4543, allocations: 249.2 kB / 0.5767 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.4544, allocations: 4 kB / 0.5767 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.4546, allocations: 8 kB / 0.5767 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.4547, allocations: 55.88 kB / 0.5768 GB, free: 5.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.4548, allocations: 83.98 kB / 0.5768 GB, free: 5.223 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007161/0.4556, allocations: 0.5654 MB / 0.5774 GB, free: 4.664 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4556, allocations: 0 / 0.5774 GB, free: 4.664 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008629/0.4564, allocations: 175.8 kB / 0.5776 GB, free: 4.492 MB / 462.1 MB 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.0004747/0.4569, allocations: 230 kB / 0.5778 GB, free: 4.258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009902/0.4579, allocations: 0.591 MB / 0.5784 GB, free: 3.672 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4579, allocations: 0 / 0.5784 GB, free: 3.672 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.4581, allocations: 136.6 kB / 0.5785 GB, free: 3.539 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.4587, allocations: 88.55 kB / 0.5786 GB, free: 3.457 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.4607, allocations: 1.253 MB / 0.5798 GB, free: 2.172 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.4612, allocations: 366.4 kB / 0.5801 GB, free: 1.789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001403/0.4626, allocations: 0.5024 MB / 0.5806 GB, free: 1.305 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.463, allocations: 144.3 kB / 0.5808 GB, free: 1.164 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.463, allocations: 0 / 0.5808 GB, free: 1.164 MB / 462.1 MB Notification: Performance of Templates: time 0.01635/0.4793, allocations: 8.556 MB / 0.5891 GB, free: 8.742 MB / 478.1 MB " [Timeout remaining time 660] 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.332884296774864] Failed to read output from testmodel.py, exit status != 0: 0.4880468472838402 0.5032320929999999 0.081138136 Calling exit ...