Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002144/0.002143, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 71.25 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2875, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02081/0.3084, allocations: 17.55 MB / 0.8005 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.3222, allocations: 7.489 MB / 0.8078 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.3234, allocations: 15.88 kB / 0.8078 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3246, allocations: 254.4 kB / 0.8081 GB, free: 4.078 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002132/0.3267, allocations: 0.6062 MB / 0.8087 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.329, allocations: 0.6982 MB / 0.8094 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.3304, allocations: 0.9586 MB / 0.8103 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005627/0.331, allocations: 337 kB / 0.8106 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.3317, allocations: 410.3 kB / 0.811 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.3321, allocations: 306.7 kB / 0.8113 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.3322, allocations: 28 kB / 0.8113 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.3338, allocations: 0.7175 MB / 0.812 GB, free: 32 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.334, allocations: 139.5 kB / 0.8122 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.3342, allocations: 242.6 kB / 0.8124 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.3356, allocations: 0.8646 MB / 0.8132 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3356, allocations: 0 / 0.8132 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3356, allocations: 0 / 0.8132 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.3356, allocations: 0 / 0.8132 GB, free: 14.79 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001455/0.3371, allocations: 0.8757 MB / 0.8141 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3372, allocations: 16.03 kB / 0.8141 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.3374, allocations: 64.27 kB / 0.8142 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.338, allocations: 445.2 kB / 0.8146 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.338, allocations: 20.56 kB / 0.8146 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.3381, allocations: 28 kB / 0.8146 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.3386, allocations: 282.3 kB / 0.8149 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3386, allocations: 4 kB / 0.8149 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.3386, allocations: 8 kB / 0.8149 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3387, allocations: 11.94 kB / 0.8149 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.3391, allocations: 194 kB / 0.8151 GB, free: 12.75 MB / 0.6387 GB 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.002014/0.3411, allocations: 1.476 MB / 0.8166 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.3415, allocations: 167.5 kB / 0.8167 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.3417, allocations: 80.81 kB / 0.8168 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002169/0.3439, allocations: 1.28 MB / 0.818 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.344, allocations: 38.55 kB / 0.8181 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 2.715e-06/0.344, allocations: 0 / 0.8181 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0008092/0.3448, allocations: 252 kB / 0.8183 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.3449, allocations: 55.34 kB / 0.8184 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.3456, allocations: 0.5925 MB / 0.819 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3457, allocations: 25.7 kB / 0.819 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.3459, allocations: 272.1 kB / 0.8192 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.3459, allocations: 47.3 kB / 0.8193 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3461, allocations: 73.88 kB / 0.8194 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.3463, allocations: 354.8 kB / 0.8197 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.3465, allocations: 85.92 kB / 0.8198 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.3469, allocations: 206.5 kB / 0.82 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.3474, allocations: 235.9 kB / 0.8202 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3475, allocations: 4 kB / 0.8202 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006893/0.3482, allocations: 320.7 kB / 0.8205 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.3482, allocations: 4 kB / 0.8205 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.3482, allocations: 4 kB / 0.8205 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.3483, allocations: 4.094 kB / 0.8205 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.3486, allocations: 63.84 kB / 0.8206 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.3486, allocations: 4 kB / 0.8206 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.3489, allocations: 47.78 kB / 0.8206 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.349, allocations: 20 kB / 0.8206 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003622/0.3494, allocations: 212.7 kB / 0.8208 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003255/0.3497, allocations: 210.2 kB / 0.821 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000445/0.3501, allocations: 223.8 kB / 0.8213 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.3502, allocations: 0 / 0.8213 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006464/0.3508, allocations: 308.8 kB / 0.8216 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3508, allocations: 10.59 kB / 0.8216 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3509, allocations: 4 kB / 0.8216 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.587e-06/0.3509, allocations: 4 kB / 0.8216 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.3511, allocations: 67.89 kB / 0.8216 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.3511, allocations: 4 kB / 0.8216 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.3514, allocations: 36.05 kB / 0.8217 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.3515, allocations: 19.98 kB / 0.8217 GB, free: 5.453 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001757/0.3517, allocations: 196.1 kB / 0.8219 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.762e-05/0.3518, allocations: 51.38 kB / 0.8219 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.3523, allocations: 260.2 kB / 0.8222 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.3524, allocations: 8 kB / 0.8222 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3524, allocations: 0 / 0.8222 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3524, allocations: 3.938 kB / 0.8222 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.3536, allocations: 0.7317 MB / 0.8229 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3536, allocations: 8.125 kB / 0.8229 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.3538, allocations: 35.92 kB / 0.8229 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3538, allocations: 3.984 kB / 0.823 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3538, allocations: 4 kB / 0.823 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3538, allocations: 0 / 0.823 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.3538, allocations: 4.188 kB / 0.823 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.3543, allocations: 354.1 kB / 0.8233 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.3545, allocations: 152.4 kB / 0.8234 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.3546, allocations: 4 kB / 0.8234 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.3548, allocations: 11.98 kB / 0.8235 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.3548, allocations: 19.92 kB / 0.8235 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3549, allocations: 8 kB / 0.8235 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004622/0.3553, allocations: 414.8 kB / 0.8239 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.3553, allocations: 0 / 0.8239 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007728/0.3561, allocations: 231.7 kB / 0.8241 GB, free: 2.863 MB / 0.6387 GB 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 (17): * Single equations (assignments): 15 * 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.001256/0.3574, allocations: 495 kB / 0.8246 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007796/0.3582, allocations: 324.1 kB / 0.8249 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3582, allocations: 0 / 0.8249 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.3584, allocations: 87.88 kB / 0.825 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.3597, allocations: 261.5 kB / 0.8252 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.3611, allocations: 0.8053 MB / 0.826 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.3615, allocations: 0.8545 MB / 0.8268 GB, free: 144 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00032/0.3619, allocations: 108.6 kB / 0.8269 GB, free: 32 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.362, allocations: 35.44 kB / 0.827 GB, free: 16 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.362, allocations: 0 / 0.827 GB, free: 16 MB / 0.6544 GB Notification: Performance of Templates: time 0.01838/0.3804, allocations: 10.23 MB / 0.837 GB, free: 5.918 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)