Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001167/0.001167, allocations: 110.9 kB / 16.41 MB, free: 6.027 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.001261/0.001261, allocations: 190.3 kB / 17.34 MB, free: 5.633 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7673/0.7673, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 67.19 kB / 0.5577 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2096, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01999/0.2297, allocations: 17.44 MB / 0.6491 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007724/0.2374, allocations: 4.921 MB / 0.6539 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007761/0.2382, allocations: 11.94 kB / 0.6539 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009355/0.2392, allocations: 250.4 kB / 0.6542 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.2411, allocations: 0.6414 MB / 0.6548 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.2433, allocations: 0.7262 MB / 0.6555 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.2446, allocations: 0.9741 MB / 0.6565 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004675/0.2451, allocations: 332.9 kB / 0.6568 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006882/0.2458, allocations: 434.2 kB / 0.6572 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.2462, allocations: 310.7 kB / 0.6575 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.2462, allocations: 31.94 kB / 0.6575 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.2476, allocations: 0.7214 MB / 0.6582 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.2478, allocations: 135.5 kB / 0.6583 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.248, allocations: 246.6 kB / 0.6586 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.2492, allocations: 0.8763 MB / 0.6594 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2493, allocations: 4 kB / 0.6594 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2493, allocations: 0 / 0.6594 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2493, allocations: 3.938 kB / 0.6594 GB, free: 8.277 MB / 0.4981 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.001306/0.2506, allocations: 0.8796 MB / 0.6603 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2506, allocations: 8.031 kB / 0.6603 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.2508, allocations: 60.28 kB / 0.6604 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.2516, allocations: 457.7 kB / 0.6608 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.2516, allocations: 24.5 kB / 0.6608 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.2517, allocations: 32 kB / 0.6609 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.2522, allocations: 286.2 kB / 0.6611 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2523, allocations: 0 / 0.6611 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.2523, allocations: 12 kB / 0.6611 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2523, allocations: 8 kB / 0.6611 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.2528, allocations: 190.1 kB / 0.6613 GB, free: 6.238 MB / 0.4981 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.001925/0.2547, allocations: 1.472 MB / 0.6628 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.255, allocations: 166.7 kB / 0.6629 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.2552, allocations: 84.81 kB / 0.663 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/0.2568, allocations: 1.272 MB / 0.6643 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.2569, allocations: 46.48 kB / 0.6643 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2569, allocations: 0 / 0.6643 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006723/0.2575, allocations: 247.8 kB / 0.6645 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.2576, allocations: 51.41 kB / 0.6646 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.2583, allocations: 0.5847 MB / 0.6652 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2583, allocations: 37.64 kB / 0.6652 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.2585, allocations: 272.1 kB / 0.6654 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.2586, allocations: 55.2 kB / 0.6655 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.2587, allocations: 69.97 kB / 0.6656 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2589, allocations: 354.8 kB / 0.6659 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.2591, allocations: 85.86 kB / 0.666 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.2594, allocations: 206.7 kB / 0.6662 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.2598, allocations: 243.1 kB / 0.6664 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2599, allocations: 0 / 0.6664 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006018/0.2605, allocations: 313.4 kB / 0.6667 GB, free: 264 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2605, allocations: 11.94 kB / 0.6667 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2605, allocations: 256 / 0.6667 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2605, allocations: 8 kB / 0.6667 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.2608, allocations: 63.91 kB / 0.6668 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.2608, allocations: 7.938 kB / 0.6668 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.2611, allocations: 43.66 kB / 0.6668 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.2612, allocations: 16 kB / 0.6669 GB, free: 112 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003488/0.2615, allocations: 212.6 kB / 0.6671 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002938/0.2619, allocations: 209.6 kB / 0.6673 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003865/0.2622, allocations: 231.8 kB / 0.6675 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.2623, allocations: 4 kB / 0.6675 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005743/0.2628, allocations: 300.7 kB / 0.6678 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2629, allocations: 13.81 kB / 0.6678 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2629, allocations: 8.172 kB / 0.6678 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.2629, allocations: 8.188 kB / 0.6678 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.2631, allocations: 63.91 kB / 0.6679 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2631, allocations: 4 kB / 0.6679 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.2635, allocations: 39.8 kB / 0.6679 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.2635, allocations: 16 kB / 0.6679 GB, free: 14.93 MB / 0.5137 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.0001347/0.2637, allocations: 196.2 kB / 0.6681 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.2638, allocations: 55.28 kB / 0.6682 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006187/0.2644, allocations: 267.3 kB / 0.6684 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.2644, allocations: 0 / 0.6684 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2644, allocations: 4 kB / 0.6684 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2644, allocations: 0 / 0.6684 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.2655, allocations: 0.7355 MB / 0.6691 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2655, allocations: 0 / 0.6691 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.2656, allocations: 31.97 kB / 0.6692 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.2657, allocations: 4 kB / 0.6692 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2657, allocations: 8 kB / 0.6692 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.2657, allocations: 7.938 kB / 0.6692 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2657, allocations: 0 / 0.6692 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.2662, allocations: 354.3 kB / 0.6695 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.2663, allocations: 144.5 kB / 0.6697 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.2664, allocations: 4 kB / 0.6697 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.2666, allocations: 19.92 kB / 0.6697 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.2667, allocations: 19.86 kB / 0.6697 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.2667, allocations: 11.98 kB / 0.6697 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004487/0.2671, allocations: 418.8 kB / 0.6701 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2671, allocations: 0 / 0.6701 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008243/0.268, allocations: 227.7 kB / 0.6703 GB, free: 12.34 MB / 0.5137 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.00127/0.2692, allocations: 493.9 kB / 0.6708 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007297/0.27, allocations: 325.7 kB / 0.6711 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.27, allocations: 1 kB / 0.6711 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.2702, allocations: 96.08 kB / 0.6712 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.2714, allocations: 246.7 kB / 0.6714 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2729, allocations: 0.8168 MB / 0.6722 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.2734, allocations: 0.8428 MB / 0.6731 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000341/0.2737, allocations: 104.3 kB / 0.6732 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.533e-05/0.2738, allocations: 35.44 kB / 0.6732 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.2738, allocations: 4 kB / 0.6732 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of Templates: time 0.0192/0.293, allocations: 10.23 MB / 0.6832 GB, free: 15.38 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)