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.001525/0.001525, allocations: 98.56 kB / 16.26 MB, free: 5.934 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.001568/0.001568, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.51/1.51, allocations: 222.9 MB / 240.9 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.76/0.76, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 63.89 kB / 0.4911 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.389, allocations: 77.93 MB / 0.5672 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02041/0.4095, allocations: 15.52 MB / 0.5824 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006114/0.4157, allocations: 4.352 MB / 0.5866 GB, free: 18.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/0.4163, allocations: 12.84 kB / 0.5866 GB, free: 18.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009186/0.4172, allocations: 258.9 kB / 0.5869 GB, free: 18.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.4187, allocations: 0.6067 MB / 0.5875 GB, free: 17.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.4206, allocations: 0.7022 MB / 0.5881 GB, free: 17.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.4218, allocations: 1.025 MB / 0.5891 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005247/0.4223, allocations: 332.9 kB / 0.5895 GB, free: 16.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006856/0.423, allocations: 427.7 kB / 0.5899 GB, free: 16.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.4234, allocations: 316.5 kB / 0.5902 GB, free: 16.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.4235, allocations: 27.41 kB / 0.5902 GB, free: 16.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.4247, allocations: 0.6278 MB / 0.5908 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.4249, allocations: 97.42 kB / 0.5909 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.4251, allocations: 231.3 kB / 0.5911 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.4263, allocations: 0.7563 MB / 0.5919 GB, free: 15.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4263, allocations: 0 / 0.5919 GB, free: 15.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4263, allocations: 0 / 0.5919 GB, free: 15.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.4263, allocations: 0.7188 kB / 0.5919 GB, free: 15.19 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.00116/0.4275, allocations: 0.8295 MB / 0.5927 GB, free: 14.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4276, allocations: 10.22 kB / 0.5927 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.4277, allocations: 55.91 kB / 0.5927 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.4282, allocations: 415.2 kB / 0.5931 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.4282, allocations: 19.84 kB / 0.5931 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.4283, allocations: 26.81 kB / 0.5932 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.4287, allocations: 210.5 kB / 0.5934 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4287, allocations: 3.406 kB / 0.5934 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.4288, allocations: 13.06 kB / 0.5934 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.4288, allocations: 5.188 kB / 0.5934 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.4292, allocations: 165.5 kB / 0.5936 GB, free: 13.86 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.001515/0.4307, allocations: 0.9602 MB / 0.5945 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.431, allocations: 131.3 kB / 0.5946 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.4312, allocations: 65.64 kB / 0.5947 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.4314, allocations: 335.5 kB / 0.595 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4315, allocations: 37.03 kB / 0.595 GB, free: 12.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.4315, allocations: 4 kB / 0.595 GB, free: 12.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006465/0.4321, allocations: 242 kB / 0.5953 GB, free: 12.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.4322, allocations: 56.06 kB / 0.5953 GB, free: 12.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.4327, allocations: 470.7 kB / 0.5958 GB, free: 12.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.4327, allocations: 31.8 kB / 0.5958 GB, free: 12.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.4329, allocations: 233.2 kB / 0.596 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.4329, allocations: 52.86 kB / 0.5961 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/0.433, allocations: 62.12 kB / 0.5961 GB, free: 11.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.4331, allocations: 352.7 kB / 0.5965 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.4333, allocations: 73.59 kB / 0.5965 GB, free: 11.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.4336, allocations: 159.8 kB / 0.5967 GB, free: 11.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.4339, allocations: 159.5 kB / 0.5968 GB, free: 11.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4339, allocations: 0 / 0.5968 GB, free: 11.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004803/0.4344, allocations: 248.7 kB / 0.5971 GB, free: 10.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4344, allocations: 9 kB / 0.5971 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4344, allocations: 9.922 kB / 0.5971 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4345, allocations: 1.156 kB / 0.5971 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.4347, allocations: 46.78 kB / 0.5971 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.4347, allocations: 2.562 kB / 0.5971 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.435, allocations: 36.7 kB / 0.5972 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.435, allocations: 15.14 kB / 0.5972 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002419/0.4353, allocations: 192.3 kB / 0.5974 GB, free: 10.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002163/0.4355, allocations: 160.8 kB / 0.5975 GB, free: 10.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002954/0.4358, allocations: 173.5 kB / 0.5977 GB, free: 10.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.4358, allocations: 5.188 kB / 0.5977 GB, free: 10.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004551/0.4363, allocations: 250.1 kB / 0.5979 GB, free: 10.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.4363, allocations: 5.562 kB / 0.5979 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4363, allocations: 5.234 kB / 0.598 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.4363, allocations: 6.344 kB / 0.598 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.4365, allocations: 42.62 kB / 0.598 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4365, allocations: 6.344 kB / 0.598 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.4368, allocations: 31.09 kB / 0.598 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.4368, allocations: 11.81 kB / 0.598 GB, free: 10.37 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 8.273e-05/0.4369, allocations: 194.5 kB / 0.5982 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.437, allocations: 42.53 kB / 0.5983 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.4375, allocations: 256.9 kB / 0.5985 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4376, allocations: 1.281 kB / 0.5985 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.4376, allocations: 5.391 kB / 0.5985 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4376, allocations: 0 / 0.5985 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008586/0.4384, allocations: 0.7042 MB / 0.5992 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4385, allocations: 1.469 kB / 0.5992 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.4386, allocations: 27.27 kB / 0.5992 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4386, allocations: 5.062 kB / 0.5992 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4386, allocations: 7.281 kB / 0.5993 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4386, allocations: 14.33 kB / 0.5993 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4386, allocations: 1.25 kB / 0.5993 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.439, allocations: 342.4 kB / 0.5996 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.4391, allocations: 136.5 kB / 0.5997 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.4392, allocations: 7.984 kB / 0.5997 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.4394, allocations: 23.8 kB / 0.5998 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.4394, allocations: 15.98 kB / 0.5998 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.4394, allocations: 4 kB / 0.5998 GB, free: 8.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.4397, allocations: 330.9 kB / 0.6001 GB, free: 8.559 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4397, allocations: 0 / 0.6001 GB, free: 8.559 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005735/0.4403, allocations: 203.7 kB / 0.6003 GB, free: 8.359 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.0009812/0.4413, allocations: 487.7 kB / 0.6007 GB, free: 8.039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.4418, allocations: 275.6 kB / 0.601 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4418, allocations: 0 / 0.601 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.442, allocations: 87.83 kB / 0.6011 GB, free: 7.684 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00096/0.443, allocations: 191.1 kB / 0.6013 GB, free: 7.508 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009153/0.4439, allocations: 0.7207 MB / 0.602 GB, free: 6.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.4441, allocations: 0.827 MB / 0.6028 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.4444, allocations: 90.92 kB / 0.6029 GB, free: 5.809 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.4444, allocations: 39.42 kB / 0.6029 GB, free: 5.773 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4444, allocations: 0 / 0.6029 GB, free: 5.773 MB / 446.1 MB Notification: Performance of Templates: time 0.01303/0.4575, allocations: 8.472 MB / 0.6112 GB, free: 13.44 MB / 462.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)