Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, 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.002474/0.002474, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.677/1.677, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.721/1.721, allocations: 251.7 MB / 0.5092 GB, free: 3.168 MB / 414.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.001657/0.001657, allocations: 71.89 kB / 0.6223 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.669, allocations: 104.7 MB / 0.7245 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1601/0.8291, allocations: 155.2 MB / 0.876 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.6069/1.436, allocations: 34.66 MB / 0.9099 GB, free: 39.58 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006337/1.442, allocations: 159.5 kB / 0.91 GB, free: 39.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003169/1.446, allocations: 1.044 MB / 0.9111 GB, free: 39.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/1.456, allocations: 3.131 MB / 0.9141 GB, free: 39.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007879/1.464, allocations: 2.47 MB / 0.9165 GB, free: 39.54 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01081/1.475, allocations: 5.287 MB / 0.9217 GB, free: 39.54 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004635/1.479, allocations: 2.202 MB / 0.9238 GB, free: 39.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008066/1.488, allocations: 2.646 MB / 0.9264 GB, free: 39.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004307/1.492, allocations: 1.93 MB / 0.9283 GB, free: 39.08 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006116/1.493, allocations: 213.8 kB / 0.9285 GB, free: 39.08 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/1.496, allocations: 1.086 MB / 0.9296 GB, free: 39.08 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006427/1.497, allocations: 0.5471 MB / 0.9301 GB, free: 38.99 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002216/1.499, allocations: 1.246 MB / 0.9313 GB, free: 38.63 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004059/1.503, allocations: 3.23 MB / 0.9345 GB, free: 38.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.503, allocations: 0 / 0.9345 GB, free: 38.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/1.503, allocations: 1.531 kB / 0.9345 GB, free: 38.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.885e-05/1.503, allocations: 0 / 0.9345 GB, free: 38.16 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004525/1.507, allocations: 2.743 MB / 0.9372 GB, free: 36.85 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.508, allocations: 10.28 kB / 0.9372 GB, free: 36.85 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004158/1.508, allocations: 262.4 kB / 0.9374 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/1.51, allocations: 1.423 MB / 0.9388 GB, free: 36.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.616e-05/1.51, allocations: 104.2 kB / 0.9389 GB, free: 36.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/1.51, allocations: 144 kB / 0.939 GB, free: 36.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/1.512, allocations: 1.161 MB / 0.9402 GB, free: 36.11 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/1.512, allocations: 0 / 0.9402 GB, free: 36.11 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.512, allocations: 46.44 kB / 0.9402 GB, free: 36.11 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/1.512, allocations: 31.8 kB / 0.9403 GB, free: 36.11 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/1.514, allocations: 1.003 MB / 0.9412 GB, free: 36.09 MB / 0.7169 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.009181/1.523, allocations: 6.333 MB / 0.9474 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008404/1.524, allocations: 0.5529 MB / 0.948 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/1.524, allocations: 380.4 kB / 0.9483 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/1.525, allocations: 0.5 MB / 0.9488 GB, free: 32.81 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/1.525, allocations: 44.84 kB / 0.9488 GB, free: 32.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001429/1.526, allocations: 236.3 kB / 0.9491 GB, free: 32.71 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 3.667e-06/1.526, allocations: 4 kB / 0.9491 GB, free: 32.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.001905/1.528, allocations: 1.145 MB / 0.9502 GB, free: 32.56 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/1.528, allocations: 59.02 kB / 0.9503 GB, free: 32.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/1.53, allocations: 1.843 MB / 0.9521 GB, free: 32.26 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.07e-05/1.53, allocations: 44.11 kB / 0.9521 GB, free: 32.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/1.531, allocations: 0.9159 MB / 0.953 GB, free: 31.96 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/1.531, allocations: 206.3 kB / 0.9532 GB, free: 31.83 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004214/1.532, allocations: 296.4 kB / 0.9535 GB, free: 31.81 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.532, allocations: 349.9 kB / 0.9538 GB, free: 31.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007904/1.533, allocations: 459.3 kB / 0.9542 GB, free: 31.49 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009336/1.533, allocations: 0.6928 MB / 0.9549 GB, free: 31.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.535, allocations: 0.9707 MB / 0.9559 GB, free: 31.14 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.535, allocations: 7.938 kB / 0.9559 GB, free: 31.13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002447/1.537, allocations: 1.42 MB / 0.9573 GB, free: 30.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.537, allocations: 5.375 kB / 0.9573 GB, free: 30.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.538, allocations: 2.953 kB / 0.9573 GB, free: 30.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/1.538, allocations: 12.52 kB / 0.9573 GB, free: 30.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.539, allocations: 293.8 kB / 0.9576 GB, free: 30.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.539, allocations: 11.41 kB / 0.9576 GB, free: 30.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/1.54, allocations: 89.59 kB / 0.9577 GB, free: 30.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.54, allocations: 61.67 kB / 0.9577 GB, free: 30.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/1.542, allocations: 0.7084 MB / 0.9584 GB, free: 30.88 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00088/1.543, allocations: 0.6649 MB / 0.9591 GB, free: 30.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001304/1.544, allocations: 0.9276 MB / 0.96 GB, free: 30.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/1.544, allocations: 0 / 0.96 GB, free: 30.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002051/1.546, allocations: 1.371 MB / 0.9613 GB, free: 30.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.546, allocations: 6.406 kB / 0.9613 GB, free: 30.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.546, allocations: 2.656 kB / 0.9613 GB, free: 30.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/1.546, allocations: 8.562 kB / 0.9613 GB, free: 30.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/1.547, allocations: 282.6 kB / 0.9616 GB, free: 30.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/1.547, allocations: 11.78 kB / 0.9616 GB, free: 30.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.549, allocations: 96.56 kB / 0.9617 GB, free: 30.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/1.549, allocations: 63.45 kB / 0.9618 GB, free: 30.34 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.0002697/1.549, allocations: 246.3 kB / 0.962 GB, free: 30.14 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/1.549, allocations: 197.6 kB / 0.9622 GB, free: 30.04 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/1.551, allocations: 1.073 MB / 0.9632 GB, free: 29.95 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/1.551, allocations: 11.5 kB / 0.9632 GB, free: 29.95 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.551, allocations: 0 / 0.9632 GB, free: 29.95 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/1.551, allocations: 7.609 kB / 0.9632 GB, free: 29.95 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/1.554, allocations: 2.412 MB / 0.9656 GB, free: 29.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.554, allocations: 192 / 0.9656 GB, free: 29.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/1.555, allocations: 141.4 kB / 0.9657 GB, free: 29.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/1.555, allocations: 5.188 kB / 0.9657 GB, free: 29.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/1.555, allocations: 16.75 kB / 0.9658 GB, free: 29.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/1.555, allocations: 10.25 kB / 0.9658 GB, free: 29.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.555, allocations: 5.75 kB / 0.9658 GB, free: 29.33 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/1.556, allocations: 1.057 MB / 0.9668 GB, free: 28.96 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/1.557, allocations: 348.8 kB / 0.9671 GB, free: 28.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/1.557, allocations: 14.22 kB / 0.9671 GB, free: 28.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007177/1.558, allocations: 46.03 kB / 0.9672 GB, free: 28.69 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.558, allocations: 50.3 kB / 0.9672 GB, free: 28.67 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/1.558, allocations: 26.44 kB / 0.9673 GB, free: 28.67 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001353/1.559, allocations: 1.216 MB / 0.9685 GB, free: 28.33 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/1.559, allocations: 0 / 0.9685 GB, free: 28.33 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002277/1.561, allocations: 0.8916 MB / 0.9693 GB, free: 28.22 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * 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.0006899/1.562, allocations: 341.5 kB / 0.9696 GB, free: 28.06 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002882/1.565, allocations: 1.697 MB / 0.9713 GB, free: 27.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.565, allocations: 1.5 kB / 0.9713 GB, free: 27.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005196/1.566, allocations: 409.3 kB / 0.9717 GB, free: 27.79 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/1.57, allocations: 1.112 MB / 0.9728 GB, free: 27.38 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/1.574, allocations: 2.996 MB / 0.9757 GB, free: 24.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/1.574, allocations: 1.394 MB / 0.9771 GB, free: 23.35 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001729/1.576, allocations: 398.5 kB / 0.9774 GB, free: 22.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/1.576, allocations: 169 kB / 0.9776 GB, free: 22.81 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/1.576, allocations: 0 / 0.9776 GB, free: 22.81 MB / 0.7169 GB Notification: Performance of Templates: time 0.06539/1.642, allocations: 38.68 MB / 1.015 GB, free: 1.102 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)