Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6977/0.6977, allocations: 131 MB / 146.3 MB, free: 1.285 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.0009054/0.0009055, allocations: 183.8 kB / 176.4 MB, free: 4.863 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.321/1.321, allocations: 225.7 MB / 432 MB, free: 8.695 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.0007547/0.0007547, allocations: 94.86 kB / 0.5003 GB, free: 9.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 8 kB / 0.5885 GB, free: 72.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1266, allocations: 79.6 MB / 0.6663 GB, free: 8.914 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4146/0.5413, allocations: 86.26 MB / 0.7505 GB, free: 23.6 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02855/0.5699, allocations: 24.74 MB / 0.7747 GB, free: 3.941 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004025/0.574, allocations: 71.56 kB / 0.7747 GB, free: 3.906 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.5769, allocations: 0.6419 MB / 0.7754 GB, free: 3.527 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007593/0.5845, allocations: 2.297 MB / 0.7776 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004663/0.5892, allocations: 1.715 MB / 0.7793 GB, free: 1.098 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.008411/0.5976, allocations: 6.422 MB / 0.7855 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/0.6005, allocations: 1.294 MB / 0.7868 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004447/0.605, allocations: 1.565 MB / 0.7883 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.608, allocations: 1.331 MB / 0.7896 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004699/0.6085, allocations: 60.28 kB / 0.7897 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.6124, allocations: 1.108 MB / 0.7908 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007448/0.6132, allocations: 300.7 kB / 0.7911 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.002505/0.6157, allocations: 0.8395 MB / 0.7919 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.005206/0.6209, allocations: 2.808 MB / 0.7946 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.621, allocations: 0 / 0.7946 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.465e-06/0.621, allocations: 0 / 0.7946 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001088/0.6211, allocations: 0 / 0.7946 GB, free: 7.809 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003837/0.6249, allocations: 1.803 MB / 0.7964 GB, free: 6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.625, allocations: 16.02 kB / 0.7964 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005571/0.6256, allocations: 198.6 kB / 0.7966 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.628, allocations: 1.363 MB / 0.7979 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/0.628, allocations: 82 kB / 0.798 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.6282, allocations: 104 kB / 0.7981 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/0.6315, allocations: 1.295 MB / 0.7994 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.6316, allocations: 4 kB / 0.7994 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.6316, allocations: 36 kB / 0.7994 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.6317, allocations: 32 kB / 0.7994 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.6344, allocations: 0.9875 MB / 0.8004 GB, free: 1.801 MB / 0.4948 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.006697/0.6411, allocations: 5.204 MB / 0.8055 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.6428, allocations: 0.5101 MB / 0.806 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.6432, allocations: 204.8 kB / 0.8062 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.6438, allocations: 0.6648 MB / 0.8068 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.6438, allocations: 46.5 kB / 0.8069 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=38): time 2.465e-06/0.6438, allocations: 0 / 0.8069 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38): time 0.00382/0.6477, allocations: 1.085 MB / 0.8079 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.6477, allocations: 55.41 kB / 0.808 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.6497, allocations: 1.376 MB / 0.8093 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.6498, allocations: 41.7 kB / 0.8094 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006111/0.6504, allocations: 0.7432 MB / 0.8101 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.6505, allocations: 134.1 kB / 0.8102 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.6506, allocations: 16 kB / 0.8102 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6507, allocations: 333.9 kB / 0.8105 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/0.6515, allocations: 313.8 kB / 0.8108 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008725/0.6524, allocations: 0.5469 MB / 0.8114 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.6539, allocations: 0.7953 MB / 0.8122 GB, free: 5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.6539, allocations: 4 kB / 0.8122 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00213/0.656, allocations: 1.016 MB / 0.8132 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.6562, allocations: 262.5 kB / 0.8134 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6562, allocations: 8 kB / 0.8134 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.6563, allocations: 8 kB / 0.8134 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009418/0.6572, allocations: 215.7 kB / 0.8136 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.6572, allocations: 11.94 kB / 0.8136 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.6586, allocations: 206.7 kB / 0.8138 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.382e-05/0.6587, allocations: 39.98 kB / 0.8139 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/0.6587, allocations: 4 kB / 0.8139 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001208/0.6599, allocations: 0.6849 MB / 0.8145 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6599, allocations: 4 kB / 0.8145 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.66, allocations: 20 kB / 0.8146 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.6606, allocations: 171.7 kB / 0.8147 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.6606, allocations: 8 kB / 0.8147 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.6617, allocations: 159 kB / 0.8149 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-05/0.6618, allocations: 28 kB / 0.8149 GB, free: 2.082 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (95): * Single equations (assignments): 95 * 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.0008157/0.6626, allocations: 425.5 kB / 0.8153 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.6629, allocations: 146.1 kB / 0.8155 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.6647, allocations: 0.7581 MB / 0.8162 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.6647, allocations: 7.938 kB / 0.8162 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.6647, allocations: 4 kB / 0.8162 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001381/0.6661, allocations: 0.8823 MB / 0.8171 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.6679, allocations: 1.081 MB / 0.8181 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6679, allocations: 0 / 0.8181 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.6685, allocations: 123.8 kB / 0.8183 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.6686, allocations: 0 / 0.8183 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.6686, allocations: 15.92 kB / 0.8183 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.6686, allocations: 4 kB / 0.8183 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6686, allocations: 0 / 0.8183 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.6708, allocations: 1.139 MB / 0.8194 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/0.6715, allocations: 307 kB / 0.8197 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/0.6717, allocations: 12 kB / 0.8197 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009969/0.6727, allocations: 111.7 kB / 0.8198 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.6728, allocations: 31.95 kB / 0.8198 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.6729, allocations: 15.98 kB / 0.8198 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001226/0.6741, allocations: 0.9231 MB / 0.8207 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6741, allocations: 0 / 0.8207 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001919/0.6761, allocations: 0.721 MB / 0.8214 GB, free: 11.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007893/0.6769, allocations: 417.3 kB / 0.8218 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.6791, allocations: 1.063 MB / 0.8229 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6792, allocations: 8.062 kB / 0.8229 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006631/0.6798, allocations: 303.3 kB / 0.8232 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/0.6839, allocations: 0.8993 MB / 0.8241 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.699, allocations: 4.088 MB / 0.828 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.7001, allocations: 1.233 MB / 0.8293 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001724/0.7018, allocations: 308.1 kB / 0.8295 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.7022, allocations: 119.4 kB / 0.8297 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of SimCode: time 7.12e-07/0.7022, allocations: 0 / 0.8297 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of Templates: time 0.05068/0.7529, allocations: 30.22 MB / 0.8592 GB, free: 4.926 MB / 0.5573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)