Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001369/0.001369, allocations: 75.3 kB / 19.93 MB, free: 1.77 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.001497/0.001497, allocations: 170.3 kB / 23.22 MB, free: 4.887 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.412/1.412, allocations: 177.1 MB / 203.5 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8954/0.8954, allocations: 114 MB / 373.9 MB, free: 13.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.5547 GB, free: 2.613 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.37e-05/3.498e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.609 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01696/0.017, allocations: 14.36 MB / 0.5687 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006292/0.02329, allocations: 4.109 MB / 0.5727 GB, free: 84 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003484/0.02364, allocations: 19.81 kB / 0.5727 GB, free: 64 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008869/0.02452, allocations: 270.1 kB / 0.573 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.02606, allocations: 0.6758 MB / 0.5737 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.02782, allocations: 0.7409 MB / 0.5744 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.02907, allocations: 1.001 MB / 0.5754 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.02949, allocations: 264.4 kB / 0.5756 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00093/0.03042, allocations: 0.5918 MB / 0.5762 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.03083, allocations: 271.2 kB / 0.5764 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.0309, allocations: 28 kB / 0.5765 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009258/0.03183, allocations: 0.5378 MB / 0.577 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.03196, allocations: 115.5 kB / 0.5771 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.03214, allocations: 143.6 kB / 0.5772 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.03323, allocations: 0.7866 MB / 0.578 GB, free: 10.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.03324, allocations: 0 / 0.578 GB, free: 10.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.03324, allocations: 0 / 0.578 GB, free: 10.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.03325, allocations: 0 / 0.578 GB, free: 10.65 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001273/0.03452, allocations: 0.753 MB / 0.5787 GB, free: 9.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.03456, allocations: 16.56 kB / 0.5788 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.03468, allocations: 52.61 kB / 0.5788 GB, free: 9.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.03537, allocations: 369.7 kB / 0.5792 GB, free: 9.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.0354, allocations: 20.5 kB / 0.5792 GB, free: 9.383 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.03544, allocations: 24 kB / 0.5792 GB, free: 9.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.03589, allocations: 216 kB / 0.5794 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.0359, allocations: 0 / 0.5794 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.03592, allocations: 8 kB / 0.5794 GB, free: 9.137 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.03593, allocations: 4 kB / 0.5794 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.03633, allocations: 165.9 kB / 0.5796 GB, free: 8.973 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.03777, allocations: 0.7141 MB / 0.5803 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.03806, allocations: 118.6 kB / 0.5804 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.03823, allocations: 67.94 kB / 0.5805 GB, free: 8.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.03836, allocations: 31.98 kB / 0.5805 GB, free: 8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.0384, allocations: 34.56 kB / 0.5805 GB, free: 7.957 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.0384, allocations: 4 kB / 0.5805 GB, free: 7.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006573/0.03905, allocations: 241.3 kB / 0.5808 GB, free: 7.711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.03911, allocations: 55.41 kB / 0.5808 GB, free: 7.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.03962, allocations: 433.9 kB / 0.5812 GB, free: 7.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.03965, allocations: 25.7 kB / 0.5812 GB, free: 7.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.03986, allocations: 240.6 kB / 0.5815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.0399, allocations: 43.66 kB / 0.5815 GB, free: 6.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.04001, allocations: 65.64 kB / 0.5816 GB, free: 6.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.0402, allocations: 350.7 kB / 0.5819 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.0404, allocations: 80.67 kB / 0.582 GB, free: 6.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.04087, allocations: 413.1 kB / 0.5824 GB, free: 5.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.04126, allocations: 158.5 kB / 0.5825 GB, free: 5.738 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.04126, allocations: 0 / 0.5825 GB, free: 5.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005735/0.04183, allocations: 254.8 kB / 0.5828 GB, free: 5.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.04185, allocations: 4 kB / 0.5828 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.04185, allocations: 4 kB / 0.5828 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.04187, allocations: 4 kB / 0.5828 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.04212, allocations: 47.91 kB / 0.5828 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.04212, allocations: 96 / 0.5828 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.04243, allocations: 35.8 kB / 0.5829 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.04246, allocations: 8 kB / 0.5829 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003191/0.04278, allocations: 193.2 kB / 0.5831 GB, free: 5.191 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004202/0.0432, allocations: 422.3 kB / 0.5835 GB, free: 4.684 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003763/0.04357, allocations: 176.2 kB / 0.5836 GB, free: 4.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.04358, allocations: 3.938 kB / 0.5836 GB, free: 4.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005403/0.04412, allocations: 247.6 kB / 0.5839 GB, free: 4.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.04413, allocations: 11.92 kB / 0.5839 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.04413, allocations: 8.047 kB / 0.5839 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-06/0.04414, allocations: 4 kB / 0.5839 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.04437, allocations: 47.97 kB / 0.5839 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.04437, allocations: 0 / 0.5839 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.04472, allocations: 31.92 kB / 0.584 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.04474, allocations: 8 kB / 0.584 GB, free: 4.137 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (24): * Single equations (assignments): 24 * 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.0001456/0.04489, allocations: 200.1 kB / 0.5842 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.04497, allocations: 47.72 kB / 0.5842 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.04555, allocations: 249.8 kB / 0.5845 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.04555, allocations: 0 / 0.5845 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.04556, allocations: 0 / 0.5845 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.04556, allocations: 0 / 0.5845 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.04658, allocations: 0.6144 MB / 0.5851 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.04659, allocations: 4 kB / 0.5851 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.04672, allocations: 23.98 kB / 0.5851 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.04672, allocations: 4.094 kB / 0.5851 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.04674, allocations: 11.94 kB / 0.5851 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.04675, allocations: 7.938 kB / 0.5851 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.04675, allocations: 0 / 0.5851 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.04728, allocations: 342.5 kB / 0.5854 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.04739, allocations: 67.66 kB / 0.5855 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.04743, allocations: 8 kB / 0.5855 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.04764, allocations: 7.984 kB / 0.5855 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.0477, allocations: 27.84 kB / 0.5855 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.04771, allocations: 4 kB / 0.5855 GB, free: 2.449 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003443/0.04806, allocations: 307.1 kB / 0.5858 GB, free: 2.156 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04806, allocations: 0 / 0.5858 GB, free: 2.156 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006596/0.04872, allocations: 203.5 kB / 0.586 GB, free: 1.957 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001625/0.05034, allocations: 494.1 kB / 0.5865 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.05103, allocations: 263.7 kB / 0.5867 GB, free: 1.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.05103, allocations: 4 kB / 0.5868 GB, free: 1.387 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.05123, allocations: 79.89 kB / 0.5868 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008854/0.05212, allocations: 166.8 kB / 0.587 GB, free: 1.152 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.05335, allocations: 0.692 MB / 0.5877 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.05359, allocations: 215.8 kB / 0.5879 GB, free: 192 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002345/0.05382, allocations: 82.83 kB / 0.5879 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.05391, allocations: 40.48 kB / 0.588 GB, free: 76 kB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.05391, allocations: 0 / 0.588 GB, free: 76 kB / 494.1 MB Notification: Performance of Templates: time 0.01546/0.06937, allocations: 8.073 MB / 0.5959 GB, free: 8.203 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5641186982393265] Failed to read output from testmodel.py, exit status != 0: 0.07923023402690887 0.10333491900000001 0.064823936 Calling exit ...