Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00453/0.00453, allocations: 102.9 kB / 15.73 MB, free: 6.035 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.001074/0.001074, allocations: 196.5 kB / 16.68 MB, free: 5.957 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002336/0.002337, allocations: 290.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9134/0.9134, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 99.84 kB / 0.6815 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4149, allocations: 86.98 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1389/0.5538, allocations: 154.4 MB / 0.9171 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04057/0.5944, allocations: 30.39 MB / 0.9468 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005438/0.5999, allocations: 143.1 kB / 0.947 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.6031, allocations: 1.047 MB / 0.948 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008815/0.612, allocations: 3.161 MB / 0.9511 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006181/0.6182, allocations: 2.508 MB / 0.9535 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3661/0.9843, allocations: 5.388 MB / 0.9588 GB, free: 42.76 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003509/0.9879, allocations: 2.231 MB / 0.961 GB, free: 42.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005318/0.9932, allocations: 2.747 MB / 0.9636 GB, free: 42.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.9959, allocations: 1.963 MB / 0.9656 GB, free: 42.56 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003623/0.9963, allocations: 214.3 kB / 0.9658 GB, free: 42.56 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.9984, allocations: 1.095 MB / 0.9668 GB, free: 42.56 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.9989, allocations: 0.5587 MB / 0.9674 GB, free: 42.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/1, allocations: 1.266 MB / 0.9686 GB, free: 42.11 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/1.003, allocations: 3.333 MB / 0.9719 GB, free: 41.74 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.003, allocations: 6.031 kB / 0.9719 GB, free: 41.74 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/1.003, allocations: 0 / 0.9719 GB, free: 41.74 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.087e-05/1.003, allocations: 4 kB / 0.9719 GB, free: 41.73 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.004002/1.007, allocations: 2.784 MB / 0.9746 GB, free: 40.51 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.007, allocations: 10.81 kB / 0.9746 GB, free: 40.51 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/1.007, allocations: 262.2 kB / 0.9749 GB, free: 40.38 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/1.009, allocations: 1.517 MB / 0.9763 GB, free: 39.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/1.009, allocations: 105.6 kB / 0.9764 GB, free: 39.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/1.01, allocations: 135.7 kB / 0.9766 GB, free: 39.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/1.011, allocations: 1.169 MB / 0.9777 GB, free: 39.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/1.011, allocations: 1.875 kB / 0.9777 GB, free: 39.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.916e-05/1.011, allocations: 43.38 kB / 0.9778 GB, free: 39.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/1.012, allocations: 30.34 kB / 0.9778 GB, free: 39.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/1.013, allocations: 1.012 MB / 0.9788 GB, free: 39.73 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.007518/1.021, allocations: 6.317 MB / 0.9849 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/1.021, allocations: 0.5634 MB / 0.9855 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/1.022, allocations: 396.7 kB / 0.9859 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/1.022, allocations: 0.5088 MB / 0.9864 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/1.022, allocations: 36.81 kB / 0.9864 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001081/1.023, allocations: 233.9 kB / 0.9866 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 3.977e-06/1.023, allocations: 0 / 0.9866 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.001804/1.025, allocations: 1.161 MB / 0.9878 GB, free: 36.22 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/1.025, allocations: 57.81 kB / 0.9878 GB, free: 36.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/1.027, allocations: 1.904 MB / 0.9897 GB, free: 35.92 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.819e-05/1.027, allocations: 44.73 kB / 0.9897 GB, free: 35.89 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/1.028, allocations: 0.9162 MB / 0.9906 GB, free: 35.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/1.028, allocations: 210.4 kB / 0.9908 GB, free: 35.49 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/1.028, allocations: 294.2 kB / 0.9911 GB, free: 35.47 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.094e-05/1.028, allocations: 347.1 kB / 0.9914 GB, free: 35.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006815/1.029, allocations: 456.3 kB / 0.9919 GB, free: 35.15 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/1.03, allocations: 0.6856 MB / 0.9925 GB, free: 34.94 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/1.031, allocations: 0.9815 MB / 0.9935 GB, free: 34.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.031, allocations: 2.406 kB / 0.9935 GB, free: 34.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002092/1.033, allocations: 1.415 MB / 0.9949 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.033, allocations: 5.5 kB / 0.9949 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.033, allocations: 2.75 kB / 0.9949 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.033, allocations: 10.12 kB / 0.9949 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/1.034, allocations: 275.3 kB / 0.9951 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/1.034, allocations: 15.41 kB / 0.9952 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.036, allocations: 73.55 kB / 0.9952 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.036, allocations: 60.94 kB / 0.9953 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001043/1.037, allocations: 0.7097 MB / 0.996 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007981/1.038, allocations: 0.6581 MB / 0.9966 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001211/1.039, allocations: 0.92 MB / 0.9975 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/1.039, allocations: 0 / 0.9975 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001926/1.041, allocations: 1.353 MB / 0.9988 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.041, allocations: 11 kB / 0.9989 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.041, allocations: 2.25 kB / 0.9989 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/1.041, allocations: 10.81 kB / 0.9989 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.042, allocations: 275.8 kB / 0.9991 GB, free: 34.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.042, allocations: 12.88 kB / 0.9991 GB, free: 34.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/1.043, allocations: 94.48 kB / 0.9992 GB, free: 34.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/1.043, allocations: 56.3 kB / 0.9993 GB, free: 34.01 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 (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.000228/1.044, allocations: 241 kB / 0.9995 GB, free: 33.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/1.044, allocations: 202.7 kB / 0.9997 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/1.046, allocations: 1.09 MB / 1.001 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/1.046, allocations: 8.625 kB / 1.001 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/1.046, allocations: 3 kB / 1.001 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.046, allocations: 0.8906 kB / 1.001 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/1.049, allocations: 2.443 MB / 1.003 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.049, allocations: 2.75 kB / 1.003 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/1.049, allocations: 132.1 kB / 1.003 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.049, allocations: 5.531 kB / 1.003 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/1.049, allocations: 24.44 kB / 1.003 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/1.049, allocations: 5.594 kB / 1.003 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.049, allocations: 7.938 kB / 1.003 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/1.05, allocations: 1.072 MB / 1.004 GB, free: 32.92 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/1.051, allocations: 352.7 kB / 1.005 GB, free: 32.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/1.051, allocations: 14.75 kB / 1.005 GB, free: 32.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007155/1.052, allocations: 35.69 kB / 1.005 GB, free: 32.72 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.052, allocations: 56.88 kB / 1.005 GB, free: 32.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/1.052, allocations: 24.27 kB / 1.005 GB, free: 32.71 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001331/1.053, allocations: 1.257 MB / 1.006 GB, free: 32.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.053, allocations: 0 / 1.006 GB, free: 32.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001802/1.055, allocations: 0.8881 MB / 1.007 GB, free: 32.46 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.0005711/1.056, allocations: 363.8 kB / 1.007 GB, free: 32.31 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002329/1.058, allocations: 1.624 MB / 1.009 GB, free: 32.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.058, allocations: 0 / 1.009 GB, free: 32.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/1.059, allocations: 413.8 kB / 1.009 GB, free: 32.29 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/1.062, allocations: 1.081 MB / 1.01 GB, free: 32.12 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/1.066, allocations: 2.977 MB / 1.013 GB, free: 30.86 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/1.067, allocations: 1.408 MB / 1.015 GB, free: 30.11 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001423/1.068, allocations: 406.4 kB / 1.015 GB, free: 30 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/1.069, allocations: 160 kB / 1.015 GB, free: 30 MB / 0.7169 GB Notification: Performance of SimCode: time 1.192e-06/1.069, allocations: 0 / 1.015 GB, free: 30 MB / 0.7169 GB Notification: Performance of Templates: time 0.04952/1.118, allocations: 39.29 MB / 1.054 GB, free: 10.61 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)