Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7584/0.7584, allocations: 131 MB / 146.3 MB, free: 1.324 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 195.3 kB / 176.4 MB, free: 4.898 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.7 MB / 432 MB, free: 8.812 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007847/0.0007847, allocations: 101.1 kB / 0.5003 GB, free: 9.922 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 8 kB / 0.5885 GB, free: 72.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1657, allocations: 79.6 MB / 0.6663 GB, free: 8.922 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02182/0.1876, allocations: 22.25 MB / 0.688 GB, free: 2.293 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.1997, allocations: 11.31 MB / 0.699 GB, free: 6.102 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006287/0.2004, allocations: 15.88 kB / 0.6991 GB, free: 6.086 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009206/0.2013, allocations: 210.9 kB / 0.6993 GB, free: 5.879 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.2029, allocations: 0.5521 MB / 0.6998 GB, free: 5.324 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.2045, allocations: 0.5769 MB / 0.7004 GB, free: 4.746 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.2062, allocations: 1.337 MB / 0.7017 GB, free: 3.406 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.2067, allocations: 284.5 kB / 0.7019 GB, free: 3.117 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.2073, allocations: 386.3 kB / 0.7023 GB, free: 2.738 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003715/0.2077, allocations: 310.6 kB / 0.7026 GB, free: 2.434 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.2077, allocations: 20 kB / 0.7026 GB, free: 2.414 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.2088, allocations: 0.6666 MB / 0.7033 GB, free: 1.746 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.209, allocations: 111.6 kB / 0.7034 GB, free: 1.637 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.2092, allocations: 236.4 kB / 0.7036 GB, free: 1.398 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009764/0.2102, allocations: 0.8644 MB / 0.7044 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2102, allocations: 0 / 0.7044 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2102, allocations: 0 / 0.7044 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2102, allocations: 4 kB / 0.7045 GB, free: 0.5273 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001113/0.2113, allocations: 0.7776 MB / 0.7052 GB, free: 15.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2114, allocations: 8.031 kB / 0.7052 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.2115, allocations: 68.17 kB / 0.7053 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.2121, allocations: 449.7 kB / 0.7057 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.2121, allocations: 24.56 kB / 0.7057 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.2122, allocations: 35.91 kB / 0.7058 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.213, allocations: 332.4 kB / 0.7061 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.213, allocations: 0 / 0.7061 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.213, allocations: 12 kB / 0.7061 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.213, allocations: 4 kB / 0.7061 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007009/0.2137, allocations: 258.1 kB / 0.7063 GB, free: 14.48 MB / 490.7 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.001627/0.2154, allocations: 1.254 MB / 0.7076 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/0.216, allocations: 202.7 kB / 0.7078 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2161, allocations: 76.81 kB / 0.7078 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/0.2176, allocations: 1.272 MB / 0.7091 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.2176, allocations: 34.56 kB / 0.7091 GB, free: 11.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.2176, allocations: 3.938 kB / 0.7091 GB, free: 11.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.001223/0.2188, allocations: 344.9 kB / 0.7094 GB, free: 11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.2189, allocations: 55.41 kB / 0.7095 GB, free: 10.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006741/0.2196, allocations: 0.577 MB / 0.7101 GB, free: 10.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.2196, allocations: 29.7 kB / 0.7101 GB, free: 10.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.2199, allocations: 267.8 kB / 0.7103 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.2199, allocations: 47.34 kB / 0.7104 GB, free: 9.992 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.2199, allocations: 8 kB / 0.7104 GB, free: 9.984 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2201, allocations: 358.8 kB / 0.7107 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.2204, allocations: 91.94 kB / 0.7108 GB, free: 9.535 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.2207, allocations: 210.3 kB / 0.711 GB, free: 9.289 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/0.2212, allocations: 263.4 kB / 0.7113 GB, free: 9.004 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2213, allocations: 0 / 0.7113 GB, free: 9.004 MB / 490.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007118/0.222, allocations: 347.8 kB / 0.7116 GB, free: 8.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.2221, allocations: 155.9 kB / 0.7118 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2221, allocations: 3.984 kB / 0.7118 GB, free: 8.473 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.2221, allocations: 4 kB / 0.7118 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.2225, allocations: 75.89 kB / 0.7118 GB, free: 8.395 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2225, allocations: 7.922 kB / 0.7118 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.2229, allocations: 55.67 kB / 0.7119 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.223, allocations: 15.98 kB / 0.7119 GB, free: 8.316 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.223, allocations: 4 kB / 0.7119 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004728/0.2235, allocations: 231.7 kB / 0.7121 GB, free: 8.086 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2235, allocations: 4 kB / 0.7121 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.2235, allocations: 4 kB / 0.7121 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.2237, allocations: 60.16 kB / 0.7122 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2237, allocations: 15.92 kB / 0.7122 GB, free: 8.004 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.224, allocations: 39.67 kB / 0.7123 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.224, allocations: 16 kB / 0.7123 GB, free: 7.949 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 32 * 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.0002128/0.2242, allocations: 261 kB / 0.7125 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.2243, allocations: 43.44 kB / 0.7126 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006749/0.225, allocations: 301.3 kB / 0.7129 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.225, allocations: 0 / 0.7129 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.225, allocations: 0 / 0.7129 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.225, allocations: 0 / 0.7129 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.2254, allocations: 389.2 kB / 0.7132 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2254, allocations: 0 / 0.7132 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.2257, allocations: 43.91 kB / 0.7133 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2257, allocations: 3.984 kB / 0.7133 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2257, allocations: 8 kB / 0.7133 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2257, allocations: 4 kB / 0.7133 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2257, allocations: 0 / 0.7133 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008193/0.2265, allocations: 462.6 kB / 0.7137 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.2267, allocations: 132.5 kB / 0.7138 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.2267, allocations: 16 kB / 0.7139 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.227, allocations: 27.97 kB / 0.7139 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.2271, allocations: 7.984 kB / 0.7139 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.2271, allocations: 4 kB / 0.7139 GB, free: 6.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004365/0.2276, allocations: 414.8 kB / 0.7143 GB, free: 5.777 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2276, allocations: 0 / 0.7143 GB, free: 5.777 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006401/0.2282, allocations: 227.7 kB / 0.7145 GB, free: 5.555 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * 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 (15): * Single equations (assignments): 13 * 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.001009/0.2292, allocations: 0.5307 MB / 0.715 GB, free: 5.137 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007969/0.23, allocations: 359.1 kB / 0.7154 GB, free: 4.789 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.2301, allocations: 4.312 kB / 0.7154 GB, free: 4.785 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.2303, allocations: 103.9 kB / 0.7155 GB, free: 4.684 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.2315, allocations: 249.9 kB / 0.7157 GB, free: 4.438 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.2355, allocations: 1.303 MB / 0.717 GB, free: 3.109 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.2359, allocations: 0.839 MB / 0.7178 GB, free: 2.242 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003768/0.2363, allocations: 92.27 kB / 0.7179 GB, free: 2.148 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-05/0.2364, allocations: 43.44 kB / 0.7179 GB, free: 2.105 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2364, allocations: 0 / 0.7179 GB, free: 2.105 MB / 490.7 MB Notification: Performance of Templates: time 0.2347/0.4711, allocations: 10.21 MB / 0.7279 GB, free: 61.24 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)