Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001375/0.001375, 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.001491/0.001491, allocations: 192.3 kB / 16.13 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.444/1.444, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.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.001349/0.001349, allocations: 67.59 kB / 0.6708 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2516, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.6728/0.9245, allocations: 154.1 MB / 0.9331 GB, free: 43.9 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04624/0.9708, allocations: 35.2 MB / 0.9675 GB, free: 43.22 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006791/0.9776, allocations: 141.5 kB / 0.9677 GB, free: 43.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.9808, allocations: 0.8246 MB / 0.9685 GB, free: 43.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008888/0.9897, allocations: 2.876 MB / 0.9713 GB, free: 42.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006455/0.9962, allocations: 2.283 MB / 0.9735 GB, free: 41.51 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0107/1.007, allocations: 7.32 MB / 0.9806 GB, free: 39.22 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003527/1.01, allocations: 1.868 MB / 0.9825 GB, free: 38.47 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006734/1.017, allocations: 2.388 MB / 0.9848 GB, free: 37.53 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00455/1.022, allocations: 1.952 MB / 0.9867 GB, free: 36.89 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005477/1.022, allocations: 121.2 kB / 0.9868 GB, free: 36.89 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00325/1.026, allocations: 0.9606 MB / 0.9878 GB, free: 36.65 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004635/1.026, allocations: 485.4 kB / 0.9882 GB, free: 36.4 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001529/1.028, allocations: 1.155 MB / 0.9893 GB, free: 35.74 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003321/1.031, allocations: 3.157 MB / 0.9924 GB, free: 33.88 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.031, allocations: 0 / 0.9924 GB, free: 33.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.22e-07/1.031, allocations: 0 / 0.9924 GB, free: 33.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.585e-05/1.031, allocations: 0 / 0.9924 GB, free: 33.88 MB / 0.7325 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.004268/1.035, allocations: 2.75 MB / 0.9951 GB, free: 31.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.035, allocations: 11.72 kB / 0.9951 GB, free: 31.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004232/1.036, allocations: 261 kB / 0.9954 GB, free: 31.78 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/1.038, allocations: 1.428 MB / 0.9968 GB, free: 30.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/1.038, allocations: 102.3 kB / 0.9969 GB, free: 30.65 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/1.038, allocations: 138 kB / 0.997 GB, free: 30.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/1.04, allocations: 1.165 MB / 0.9981 GB, free: 29.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/1.04, allocations: 0 / 0.9981 GB, free: 29.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/1.04, allocations: 47.12 kB / 0.9982 GB, free: 29.87 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/1.04, allocations: 33.91 kB / 0.9982 GB, free: 29.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/1.041, allocations: 1.015 MB / 0.9992 GB, free: 29.34 MB / 0.7325 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.007918/1.049, allocations: 6.287 MB / 1.005 GB, free: 24.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/1.05, allocations: 0.5662 MB / 1.006 GB, free: 23.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/1.051, allocations: 385.4 kB / 1.006 GB, free: 23.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/1.051, allocations: 0.5044 MB / 1.007 GB, free: 23.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/1.051, allocations: 38.03 kB / 1.007 GB, free: 23.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001465/1.052, allocations: 331.6 kB / 1.007 GB, free: 22.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=58): time 2.895e-06/1.052, allocations: 4 kB / 1.007 GB, free: 22.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58): time 0.001839/1.054, allocations: 1.116 MB / 1.008 GB, free: 22.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/1.054, allocations: 65.41 kB / 1.008 GB, free: 22.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/1.056, allocations: 1.848 MB / 1.01 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-05/1.056, allocations: 47.73 kB / 1.01 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005139/1.057, allocations: 0.9133 MB / 1.011 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/1.057, allocations: 203.2 kB / 1.011 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/1.057, allocations: 297.4 kB / 1.011 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.433e-05/1.057, allocations: 346.4 kB / 1.012 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006826/1.058, allocations: 446 kB / 1.012 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008521/1.059, allocations: 0.6752 MB / 1.013 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/1.06, allocations: 0.9599 MB / 1.014 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.06, allocations: 2.656 kB / 1.014 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002521/1.063, allocations: 1.397 MB / 1.015 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.063, allocations: 7.719 kB / 1.015 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.063, allocations: 2.562 kB / 1.015 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/1.063, allocations: 9.125 kB / 1.015 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.064, allocations: 289.5 kB / 1.016 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/1.064, allocations: 16.2 kB / 1.016 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.066, allocations: 148.8 kB / 1.016 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.066, allocations: 60.48 kB / 1.016 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001224/1.068, allocations: 0.7041 MB / 1.016 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000811/1.068, allocations: 0.659 MB / 1.017 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00127/1.07, allocations: 0.9106 MB / 1.018 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/1.07, allocations: 0 / 1.018 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002094/1.072, allocations: 1.351 MB / 1.019 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.072, allocations: 8 kB / 1.019 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.072, allocations: 0 / 1.019 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/1.072, allocations: 8 kB / 1.019 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.073, allocations: 279.6 kB / 1.02 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/1.073, allocations: 11.98 kB / 1.02 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/1.075, allocations: 163.5 kB / 1.02 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/1.075, allocations: 55.97 kB / 1.02 GB, free: 14.5 MB / 0.7325 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.000316/1.075, allocations: 240 kB / 1.02 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/1.076, allocations: 193.5 kB / 1.02 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/1.078, allocations: 1.063 MB / 1.021 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.078, allocations: 15.94 kB / 1.021 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.078, allocations: 7.922 kB / 1.021 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.078, allocations: 3.938 kB / 1.021 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/1.081, allocations: 2.391 MB / 1.024 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.081, allocations: 4 kB / 1.024 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000553/1.081, allocations: 131.8 kB / 1.024 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.081, allocations: 4 kB / 1.024 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/1.081, allocations: 19.98 kB / 1.024 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/1.081, allocations: 7.938 kB / 1.024 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/1.081, allocations: 0 / 1.024 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/1.083, allocations: 1.054 MB / 1.025 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/1.083, allocations: 346.4 kB / 1.025 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/1.084, allocations: 16 kB / 1.025 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008978/1.084, allocations: 99.66 kB / 1.025 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.085, allocations: 52.58 kB / 1.025 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/1.085, allocations: 20 kB / 1.025 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001338/1.086, allocations: 1.219 MB / 1.026 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.086, allocations: 0 / 1.026 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002029/1.088, allocations: 0.9005 MB / 1.027 GB, free: 6.621 MB / 0.7325 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.0006417/1.089, allocations: 344 kB / 1.028 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002357/1.091, allocations: 1.595 MB / 1.029 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.091, allocations: 0 / 1.029 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004996/1.092, allocations: 403.5 kB / 1.03 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004921/1.097, allocations: 1.146 MB / 1.031 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/1.101, allocations: 3.663 MB / 1.034 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008736/1.101, allocations: 1.393 MB / 1.036 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001915/1.103, allocations: 411.5 kB / 1.036 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/1.104, allocations: 159.4 kB / 1.036 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/1.104, allocations: 0 / 1.036 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.06035/1.164, allocations: 37.65 MB / 1.073 GB, free: 8.52 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)