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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 107.7 kB / 17.02 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 196.1 kB / 17.97 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7365/0.7365, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3384, allocations: 76.15 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01456/0.353, allocations: 15.51 MB / 0.5727 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005903/0.3589, allocations: 4.334 MB / 0.577 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009709/0.36, allocations: 16.94 kB / 0.577 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.3612, allocations: 260.2 kB / 0.5772 GB, free: 22.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.3633, allocations: 0.6077 MB / 0.5778 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.3653, allocations: 0.7065 MB / 0.5785 GB, free: 21.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.3666, allocations: 1.031 MB / 0.5795 GB, free: 21.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.3671, allocations: 338.2 kB / 0.5798 GB, free: 21.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000692/0.3678, allocations: 421.6 kB / 0.5802 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/0.3682, allocations: 327.4 kB / 0.5805 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.13e-05/0.3683, allocations: 26.72 kB / 0.5806 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.3695, allocations: 0.6274 MB / 0.5812 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.3697, allocations: 103.7 kB / 0.5813 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.3699, allocations: 229 kB / 0.5815 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.371, allocations: 0.7705 MB / 0.5823 GB, free: 20.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3711, allocations: 0 / 0.5823 GB, free: 20.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3711, allocations: 0 / 0.5823 GB, free: 20.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.3711, allocations: 0.5156 kB / 0.5823 GB, free: 20.14 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001152/0.3722, allocations: 0.8252 MB / 0.5831 GB, free: 19.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.3723, allocations: 10.53 kB / 0.5831 GB, free: 19.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.3724, allocations: 59.09 kB / 0.5831 GB, free: 19.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.3731, allocations: 432.1 kB / 0.5835 GB, free: 19.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.3731, allocations: 21 kB / 0.5836 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.3732, allocations: 26.19 kB / 0.5836 GB, free: 19.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.3736, allocations: 215.1 kB / 0.5838 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3736, allocations: 0 / 0.5838 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.3737, allocations: 10.31 kB / 0.5838 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3737, allocations: 4.906 kB / 0.5838 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.374, allocations: 167.5 kB / 0.584 GB, free: 18.98 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.3755, allocations: 0.9432 MB / 0.5849 GB, free: 18.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.3758, allocations: 132.7 kB / 0.585 GB, free: 18.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.376, allocations: 71.14 kB / 0.5851 GB, free: 18.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.3762, allocations: 338.5 kB / 0.5854 GB, free: 17.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.3762, allocations: 36.12 kB / 0.5854 GB, free: 17.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3762, allocations: 0 / 0.5854 GB, free: 17.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006179/0.3769, allocations: 245.8 kB / 0.5857 GB, free: 17.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.3769, allocations: 53.7 kB / 0.5857 GB, free: 17.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.3774, allocations: 480.1 kB / 0.5862 GB, free: 17.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.3774, allocations: 32.08 kB / 0.5862 GB, free: 17.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3776, allocations: 229 kB / 0.5864 GB, free: 17.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.3776, allocations: 41.28 kB / 0.5865 GB, free: 17.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.3777, allocations: 68.59 kB / 0.5865 GB, free: 17.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.3778, allocations: 353.3 kB / 0.5869 GB, free: 16.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.378, allocations: 77.88 kB / 0.5869 GB, free: 16.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.3782, allocations: 156.2 kB / 0.5871 GB, free: 16.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.3785, allocations: 164.3 kB / 0.5872 GB, free: 16.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3786, allocations: 1.188 kB / 0.5872 GB, free: 16.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004969/0.3791, allocations: 255.8 kB / 0.5875 GB, free: 16.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3791, allocations: 4.844 kB / 0.5875 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3791, allocations: 2.234 kB / 0.5875 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3791, allocations: 1.062 kB / 0.5875 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.3794, allocations: 47.44 kB / 0.5875 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3794, allocations: 2.625 kB / 0.5875 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.3797, allocations: 34.69 kB / 0.5876 GB, free: 16.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.3797, allocations: 13.81 kB / 0.5876 GB, free: 16.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002538/0.38, allocations: 196.3 kB / 0.5878 GB, free: 16.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002194/0.3802, allocations: 160.2 kB / 0.5879 GB, free: 16.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003266/0.3806, allocations: 174.9 kB / 0.5881 GB, free: 16.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.3806, allocations: 0.6562 kB / 0.5881 GB, free: 16.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004888/0.3811, allocations: 261.6 kB / 0.5884 GB, free: 16.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.3811, allocations: 5.75 kB / 0.5884 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.3811, allocations: 5.312 kB / 0.5884 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.3811, allocations: 2.125 kB / 0.5884 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3813, allocations: 42.77 kB / 0.5884 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3813, allocations: 6.719 kB / 0.5884 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.3817, allocations: 30.95 kB / 0.5884 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.3817, allocations: 15.61 kB / 0.5885 GB, free: 16.03 MB / 446.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 7.469e-05/0.3818, allocations: 195.1 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.3819, allocations: 38.94 kB / 0.5887 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.3824, allocations: 254.8 kB / 0.5889 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3824, allocations: 2.859 kB / 0.5889 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3825, allocations: 0 / 0.5889 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3825, allocations: 1.172 kB / 0.5889 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.3834, allocations: 0.7022 MB / 0.5896 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3834, allocations: 2.016 kB / 0.5896 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.3836, allocations: 28.28 kB / 0.5896 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3836, allocations: 2 kB / 0.5896 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.3836, allocations: 7.031 kB / 0.5896 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.3836, allocations: 18.28 kB / 0.5897 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3836, allocations: 1.406 kB / 0.5897 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.384, allocations: 334.3 kB / 0.59 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3842, allocations: 143.2 kB / 0.5901 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.3842, allocations: 2.859 kB / 0.5901 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.3845, allocations: 19.69 kB / 0.5901 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.3845, allocations: 15.42 kB / 0.5902 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3845, allocations: 9.141 kB / 0.5902 GB, free: 14.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003483/0.3849, allocations: 332.6 kB / 0.5905 GB, free: 14.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.61e-07/0.3849, allocations: 0 / 0.5905 GB, free: 14.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007026/0.3856, allocations: 206.8 kB / 0.5907 GB, free: 14.63 MB / 446.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.00106/0.3867, allocations: 478.2 kB / 0.5911 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006553/0.3873, allocations: 268.9 kB / 0.5914 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3874, allocations: 5.281 kB / 0.5914 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.3876, allocations: 81.44 kB / 0.5915 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009591/0.3885, allocations: 215 kB / 0.5917 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3896, allocations: 0.7083 MB / 0.5924 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3898, allocations: 0.823 MB / 0.5932 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002605/0.3901, allocations: 86.05 kB / 0.5933 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.3902, allocations: 41.39 kB / 0.5933 GB, free: 12.96 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3902, allocations: 0 / 0.5933 GB, free: 12.96 MB / 446.1 MB Notification: Performance of Templates: time 0.01343/0.4036, allocations: 8.471 MB / 0.6016 GB, free: 7.195 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)