Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001527/0.001527, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001949/0.001949, allocations: 195.6 kB / 16.14 MB, free: 6.66 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 68.34 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3624, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1441/0.5066, allocations: 153.4 MB / 1.217 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04245/0.5491, allocations: 30.49 MB / 1.247 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006764/0.5559, allocations: 123.2 kB / 1.247 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003557/0.5595, allocations: 0.8155 MB / 1.248 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7606/1.32, allocations: 2.89 MB / 1.251 GB, free: 44.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008019/1.328, allocations: 2.281 MB / 1.253 GB, free: 44.76 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01329/1.341, allocations: 7.393 MB / 1.26 GB, free: 44.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004502/1.346, allocations: 1.898 MB / 1.262 GB, free: 44.62 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008144/1.354, allocations: 2.423 MB / 1.264 GB, free: 44.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005711/1.36, allocations: 1.974 MB / 1.266 GB, free: 44.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/1.361, allocations: 121.2 kB / 1.266 GB, free: 44.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/1.366, allocations: 0.9612 MB / 1.267 GB, free: 44.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008407/1.366, allocations: 487.7 kB / 1.268 GB, free: 44.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0031/1.37, allocations: 1.172 MB / 1.269 GB, free: 44.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00841/1.378, allocations: 3.202 MB / 1.272 GB, free: 43.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/1.378, allocations: 0 / 1.272 GB, free: 43.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.003e-06/1.378, allocations: 0.5625 kB / 1.272 GB, free: 43.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001297/1.378, allocations: 0 / 1.272 GB, free: 43.67 MB / 0.9981 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.00981/1.388, allocations: 2.794 MB / 1.275 GB, free: 42.38 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.388, allocations: 9 kB / 1.275 GB, free: 42.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008797/1.389, allocations: 264.1 kB / 1.275 GB, free: 42.24 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/1.392, allocations: 1.449 MB / 1.277 GB, free: 41.72 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.876e-05/1.392, allocations: 101.8 kB / 1.277 GB, free: 41.71 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/1.393, allocations: 146.1 kB / 1.277 GB, free: 41.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/1.395, allocations: 1.158 MB / 1.278 GB, free: 41.63 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/1.395, allocations: 1.875 kB / 1.278 GB, free: 41.63 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/1.395, allocations: 48.84 kB / 1.278 GB, free: 41.63 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/1.395, allocations: 34 kB / 1.278 GB, free: 41.63 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/1.397, allocations: 1.012 MB / 1.279 GB, free: 41.61 MB / 0.9981 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.01203/1.409, allocations: 6.321 MB / 1.285 GB, free: 38.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/1.411, allocations: 0.5642 MB / 1.286 GB, free: 38.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/1.411, allocations: 389.3 kB / 1.286 GB, free: 38.89 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003725/1.412, allocations: 0.4992 MB / 1.287 GB, free: 38.33 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.412, allocations: 40.55 kB / 1.287 GB, free: 38.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002562/1.414, allocations: 324.3 kB / 1.287 GB, free: 38.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 5.34e-06/1.414, allocations: 4 kB / 1.287 GB, free: 38.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.002715/1.417, allocations: 1.123 MB / 1.288 GB, free: 38.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/1.417, allocations: 58.72 kB / 1.288 GB, free: 38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/1.42, allocations: 1.901 MB / 1.29 GB, free: 37.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/1.42, allocations: 45.36 kB / 1.29 GB, free: 37.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007366/1.421, allocations: 0.9189 MB / 1.291 GB, free: 37.47 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/1.421, allocations: 202.1 kB / 1.291 GB, free: 37.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004911/1.422, allocations: 296.1 kB / 1.291 GB, free: 37.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/1.422, allocations: 347.7 kB / 1.292 GB, free: 37.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008373/1.423, allocations: 441.8 kB / 1.292 GB, free: 37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/1.424, allocations: 0.6685 MB / 1.293 GB, free: 36.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/1.425, allocations: 0.952 MB / 1.294 GB, free: 36.65 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.425, allocations: 1.281 kB / 1.294 GB, free: 36.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002776/1.428, allocations: 1.381 MB / 1.295 GB, free: 36.49 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/1.428, allocations: 9.875 kB / 1.295 GB, free: 36.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.428, allocations: 3.719 kB / 1.295 GB, free: 36.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/1.428, allocations: 8.375 kB / 1.295 GB, free: 36.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/1.43, allocations: 283.5 kB / 1.295 GB, free: 36.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/1.43, allocations: 11.53 kB / 1.295 GB, free: 36.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/1.432, allocations: 137.8 kB / 1.295 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/1.432, allocations: 60.25 kB / 1.296 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001483/1.434, allocations: 0.6943 MB / 1.296 GB, free: 36.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009074/1.435, allocations: 0.652 MB / 1.297 GB, free: 36.15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001418/1.436, allocations: 0.8972 MB / 1.298 GB, free: 36.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/1.436, allocations: 0 / 1.298 GB, free: 36.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002889/1.439, allocations: 1.327 MB / 1.299 GB, free: 35.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.439, allocations: 5.594 kB / 1.299 GB, free: 35.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.439, allocations: 7.938 kB / 1.299 GB, free: 35.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.439, allocations: 7.906 kB / 1.299 GB, free: 35.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.44, allocations: 271 kB / 1.299 GB, free: 35.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/1.44, allocations: 15.83 kB / 1.299 GB, free: 35.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/1.443, allocations: 138.8 kB / 1.299 GB, free: 35.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/1.443, allocations: 59.38 kB / 1.3 GB, free: 35.82 MB / 0.9981 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 (144): * Single equations (assignments): 144 * 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.0003824/1.443, allocations: 247.4 kB / 1.3 GB, free: 35.63 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004727/1.444, allocations: 201 kB / 1.3 GB, free: 35.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/1.446, allocations: 1.061 MB / 1.301 GB, free: 35.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/1.446, allocations: 8.281 kB / 1.301 GB, free: 35.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.446, allocations: 5.094 kB / 1.301 GB, free: 35.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/1.446, allocations: 3.469 kB / 1.301 GB, free: 35.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004333/1.45, allocations: 2.404 MB / 1.303 GB, free: 35.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.45, allocations: 2.812 kB / 1.303 GB, free: 35.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/1.451, allocations: 135.5 kB / 1.303 GB, free: 35.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.451, allocations: 7.25 kB / 1.303 GB, free: 35.04 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/1.451, allocations: 19.58 kB / 1.304 GB, free: 35.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.425e-06/1.451, allocations: 3.969 kB / 1.304 GB, free: 35.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.451, allocations: 9.562 kB / 1.304 GB, free: 35.03 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/1.453, allocations: 1.046 MB / 1.305 GB, free: 34.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008387/1.454, allocations: 360.4 kB / 1.305 GB, free: 34.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/1.454, allocations: 12.41 kB / 1.305 GB, free: 34.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009241/1.455, allocations: 100.3 kB / 1.305 GB, free: 34.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/1.455, allocations: 52.67 kB / 1.305 GB, free: 34.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/1.455, allocations: 31.14 kB / 1.305 GB, free: 34.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00164/1.457, allocations: 1.255 MB / 1.306 GB, free: 34.35 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.457, allocations: 0 / 1.306 GB, free: 34.35 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002729/1.459, allocations: 0.8878 MB / 1.307 GB, free: 34.24 MB / 0.9981 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.0006977/1.46, allocations: 348.6 kB / 1.307 GB, free: 34.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00269/1.463, allocations: 1.569 MB / 1.309 GB, free: 34.08 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.463, allocations: 0 / 1.309 GB, free: 34.08 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005626/1.463, allocations: 398.6 kB / 1.309 GB, free: 34.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005429/1.469, allocations: 1.134 MB / 1.311 GB, free: 33.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/1.474, allocations: 3.707 MB / 1.314 GB, free: 31.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007903/1.475, allocations: 1.403 MB / 1.316 GB, free: 31.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00219/1.477, allocations: 404.5 kB / 1.316 GB, free: 31.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/1.477, allocations: 163.2 kB / 1.316 GB, free: 31.12 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.477, allocations: 0 / 1.316 GB, free: 31.12 MB / 0.9981 GB Notification: Performance of Templates: time 0.05494/1.532, allocations: 37.24 MB / 1.352 GB, free: 9.297 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)