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.001422/0.001422, allocations: 113 kB / 17.09 MB, free: 5.965 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.001543/0.001543, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7302/0.7302, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.38 kB / 0.5583 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1585, allocations: 76.18 MB / 0.6327 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01875/0.1773, allocations: 15.53 MB / 0.6479 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006485/0.1838, allocations: 4.326 MB / 0.6521 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005787/0.1844, allocations: 19.88 kB / 0.6521 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.1854, allocations: 270.3 kB / 0.6524 GB, free: 300 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.1869, allocations: 0.6008 MB / 0.653 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.1888, allocations: 0.707 MB / 0.6537 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.1902, allocations: 1.033 MB / 0.6547 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/0.1906, allocations: 339.8 kB / 0.655 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006907/0.1913, allocations: 426.3 kB / 0.6554 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.1918, allocations: 330.5 kB / 0.6557 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.1919, allocations: 28 kB / 0.6558 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.193, allocations: 0.6239 MB / 0.6564 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1931, allocations: 103.6 kB / 0.6565 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.1934, allocations: 226.7 kB / 0.6567 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000989/0.1944, allocations: 0.7672 MB / 0.6574 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1944, allocations: 0 / 0.6574 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1944, allocations: 4 kB / 0.6574 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.1944, allocations: 0 / 0.6574 GB, free: 11.12 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001201/0.1956, allocations: 0.8252 MB / 0.6582 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1957, allocations: 8.031 kB / 0.6583 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1958, allocations: 56.28 kB / 0.6583 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006466/0.1964, allocations: 433.4 kB / 0.6587 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1964, allocations: 20.44 kB / 0.6587 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.1965, allocations: 28 kB / 0.6588 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.1969, allocations: 215.2 kB / 0.659 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.197, allocations: 0 / 0.659 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.197, allocations: 4 kB / 0.659 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.197, allocations: 4 kB / 0.659 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.1974, allocations: 165.6 kB / 0.6591 GB, free: 9.289 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.001608/0.199, allocations: 0.9496 MB / 0.6601 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.1993, allocations: 126.6 kB / 0.6602 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1995, allocations: 76.81 kB / 0.6603 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.1997, allocations: 332.4 kB / 0.6606 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1998, allocations: 46.44 kB / 0.6606 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1998, allocations: 3.938 kB / 0.6606 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005919/0.2004, allocations: 233.1 kB / 0.6608 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.2004, allocations: 51.41 kB / 0.6609 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.2009, allocations: 478 kB / 0.6614 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.201, allocations: 29.7 kB / 0.6614 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.2011, allocations: 232.6 kB / 0.6616 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.2012, allocations: 55.36 kB / 0.6617 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/0.2013, allocations: 57.61 kB / 0.6617 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2014, allocations: 358.7 kB / 0.6621 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.2016, allocations: 72.67 kB / 0.6621 GB, free: 6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.2019, allocations: 157.6 kB / 0.6623 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.2022, allocations: 164.5 kB / 0.6624 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2022, allocations: 0 / 0.6624 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004919/0.2027, allocations: 262.4 kB / 0.6627 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2028, allocations: 4 kB / 0.6627 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2028, allocations: 0 / 0.6627 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2028, allocations: 4 kB / 0.6627 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.203, allocations: 39.97 kB / 0.6627 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.203, allocations: 4 kB / 0.6627 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.2033, allocations: 35.72 kB / 0.6628 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.2034, allocations: 16 kB / 0.6628 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002652/0.2037, allocations: 188.1 kB / 0.663 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002327/0.2039, allocations: 161.3 kB / 0.6631 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003237/0.2042, allocations: 174.2 kB / 0.6633 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.2042, allocations: 3.938 kB / 0.6633 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004995/0.2048, allocations: 249 kB / 0.6635 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2048, allocations: 12.06 kB / 0.6635 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.2048, allocations: 3.984 kB / 0.6635 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.2048, allocations: 4 kB / 0.6635 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.205, allocations: 43.98 kB / 0.6636 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.205, allocations: 11.92 kB / 0.6636 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.2053, allocations: 39.75 kB / 0.6636 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.2054, allocations: 8 kB / 0.6636 GB, free: 4.352 MB / 0.4981 GB 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.0001202/0.2055, allocations: 196.2 kB / 0.6638 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.2056, allocations: 43.44 kB / 0.6639 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000542/0.2061, allocations: 253.7 kB / 0.6641 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2061, allocations: 0 / 0.6641 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2061, allocations: 0 / 0.6641 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.2063, allocations: 132.6 kB / 0.6642 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.2063, allocations: 8 kB / 0.6642 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.2065, allocations: 19.92 kB / 0.6643 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.2066, allocations: 8.172 kB / 0.6643 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004491/0.2071, allocations: 268.8 kB / 0.6645 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004844/0.2076, allocations: 403.4 kB / 0.6649 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001711/0.2077, allocations: 75.94 kB / 0.665 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003542/0.2081, allocations: 334.9 kB / 0.6653 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of Backend: time 5.31e-07/0.2081, allocations: 0 / 0.6653 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002391/0.2105, allocations: 0.797 MB / 0.6661 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00181/0.2123, allocations: 1.251 MB / 0.6673 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of Templates: time 0.01752/0.2299, allocations: 9.808 MB / 0.6769 GB, free: 7.004 MB / 0.5137 GB 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)