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.0011/0.0011, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001406/0.001406, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8735/0.8735, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 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.08251/0.08251, allocations: 17.46 MB / 277.4 MB, free: 11.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 412.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.225e-05, allocations: 5.234 kB / 412.9 MB, free: 15.77 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:448:5-448: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:448:5-448: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.01726/0.01728, allocations: 24.02 MB / 436.9 MB, free: 7.828 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2452/0.2624, allocations: 122.8 MB / 0.5465 GB, free: 468 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.2626, allocations: 4 kB / 0.5466 GB, free: 464 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.2641, allocations: 0.7186 MB / 0.5473 GB, free: 15.74 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.2662, allocations: 2.374 MB / 0.5496 GB, free: 13.36 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2673, allocations: 0.6181 MB / 0.5502 GB, free: 12.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002088/0.2694, allocations: 2.118 MB / 0.5522 GB, free: 10.62 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.793e-05/0.2695, allocations: 21.97 kB / 0.5523 GB, free: 10.6 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004001/0.2699, allocations: 490.9 kB / 0.5527 GB, free: 10.12 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00045/0.2703, allocations: 491 kB / 0.5532 GB, free: 9.641 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.2704, allocations: 20 kB / 0.5532 GB, free: 9.621 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.2715, allocations: 0.8494 MB / 0.554 GB, free: 8.77 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.2716, allocations: 195.3 kB / 0.5542 GB, free: 8.578 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.2717, allocations: 183.4 kB / 0.5544 GB, free: 8.398 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.2731, allocations: 1.725 MB / 0.5561 GB, free: 6.668 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2731, allocations: 0 / 0.5561 GB, free: 6.668 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2731, allocations: 0 / 0.5561 GB, free: 6.668 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2732, allocations: 1.5 kB / 0.5561 GB, free: 6.668 MB / 442.7 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.001047/0.2742, allocations: 1.049 MB / 0.5571 GB, free: 5.586 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2742, allocations: 8.031 kB / 0.5571 GB, free: 5.578 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/0.2746, allocations: 305.6 kB / 0.5574 GB, free: 5.285 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.275, allocations: 361.4 kB / 0.5578 GB, free: 4.902 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.275, allocations: 29.38 kB / 0.5578 GB, free: 4.875 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.2751, allocations: 44.36 kB / 0.5578 GB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.2766, allocations: 2.625 MB / 0.5604 GB, free: 2.152 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2766, allocations: 4.188 kB / 0.5604 GB, free: 2.148 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.2766, allocations: 28.53 kB / 0.5604 GB, free: 2.121 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.465e-05/0.2767, allocations: 89.2 kB / 0.5605 GB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.2791, allocations: 4.234 MB / 0.5646 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.2816, allocations: 3.279 MB / 0.5679 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.2822, allocations: 487.2 kB / 0.5683 GB, free: 9.992 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.2823, allocations: 116.8 kB / 0.5684 GB, free: 9.875 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002129/0.2844, allocations: 1.839 MB / 0.5702 GB, free: 8.023 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2844, allocations: 40.8 kB / 0.5703 GB, free: 7.977 MB / 458.7 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.2844, allocations: 0 / 0.5703 GB, free: 7.977 MB / 458.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005282/0.285, allocations: 480.8 kB / 0.5707 GB, free: 7.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.285, allocations: 59.34 kB / 0.5708 GB, free: 7.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/0.2856, allocations: 0.9109 MB / 0.5717 GB, free: 6.508 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.2856, allocations: 29.7 kB / 0.5717 GB, free: 6.473 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.2858, allocations: 494.9 kB / 0.5722 GB, free: 5.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.2859, allocations: 95.31 kB / 0.5723 GB, free: 5.887 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.2861, allocations: 294.4 kB / 0.5725 GB, free: 5.594 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2862, allocations: 358.8 kB / 0.5729 GB, free: 5.234 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.2864, allocations: 226.5 kB / 0.5731 GB, free: 5.012 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.2869, allocations: 0.8921 MB / 0.574 GB, free: 3.789 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007961/0.2877, allocations: 1.216 MB / 0.5752 GB, free: 2.242 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.2877, allocations: 8.875 kB / 0.5752 GB, free: 2.234 MB / 458.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0009945/0.2887, allocations: 1.131 MB / 0.5763 GB, free: 1.098 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2887, allocations: 17 kB / 0.5763 GB, free: 1.082 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.2887, allocations: 24 kB / 0.5763 GB, free: 1.059 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.2887, allocations: 36 kB / 0.5763 GB, free: 1.023 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.2891, allocations: 303.4 kB / 0.5766 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/0.2891, allocations: 51.78 kB / 0.5767 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.2894, allocations: 139 kB / 0.5768 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.421e-05/0.2895, allocations: 130.5 kB / 0.5769 GB, free: 424 kB / 458.7 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.0002426/0.2898, allocations: 337.1 kB / 0.5773 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.2899, allocations: 99.62 kB / 0.5774 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009481/0.2908, allocations: 0.778 MB / 0.5781 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2908, allocations: 4 kB / 0.5781 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2908, allocations: 11.73 kB / 0.5781 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2908, allocations: 0 / 0.5781 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.2911, allocations: 417 kB / 0.5785 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2911, allocations: 0 / 0.5785 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.2913, allocations: 103.9 kB / 0.5786 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2913, allocations: 7.984 kB / 0.5786 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.2913, allocations: 31.09 kB / 0.5787 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2913, allocations: 10.67 kB / 0.5787 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2913, allocations: 3.938 kB / 0.5787 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.2917, allocations: 486.8 kB / 0.5791 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.2919, allocations: 253.1 kB / 0.5794 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.292, allocations: 8 kB / 0.5794 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2921, allocations: 8 kB / 0.5794 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.2922, allocations: 43.89 kB / 0.5794 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.2922, allocations: 87.98 kB / 0.5795 GB, free: 13.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003971/0.2926, allocations: 0.5654 MB / 0.5801 GB, free: 13.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2926, allocations: 0 / 0.5801 GB, free: 13.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005112/0.2931, allocations: 203.8 kB / 0.5803 GB, free: 12.95 MB / 474.7 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.0002834/0.2934, allocations: 227.8 kB / 0.5805 GB, free: 12.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.2939, allocations: 0.5829 MB / 0.5811 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2939, allocations: 0 / 0.5811 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.2941, allocations: 139.8 kB / 0.5812 GB, free: 12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.2944, allocations: 93.02 kB / 0.5813 GB, free: 11.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.2956, allocations: 1.329 MB / 0.5826 GB, free: 10.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.2958, allocations: 358.9 kB / 0.5829 GB, free: 10.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.2962, allocations: 200.2 kB / 0.5831 GB, free: 9.988 MB / 474.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2962, allocations: 7.938 kB / 0.5831 GB, free: 9.98 MB / 474.7 MB Notification: Performance of Templates: time 0.008046/0.3042, allocations: 10.38 MB / 0.5933 GB, free: 15.65 MB / 490.7 MB " [Timeout remaining time 660] 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: 4.998719961382449] Failed to read output from testmodel.py, exit status != 0: 0.3094359515234828 0.317534786 0.042781909 Calling exit ...