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.005762/0.005762, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001093/0.001093, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 292.3 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.9287/0.9287, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 95.84 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4379, allocations: 86.97 MB / 0.7664 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1419/0.5798, allocations: 154.4 MB / 0.9171 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04151/0.6214, allocations: 30.4 MB / 0.9468 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006238/0.6277, allocations: 143.1 kB / 0.947 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004589/0.6323, allocations: 1.043 MB / 0.948 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.6424, allocations: 3.168 MB / 0.9511 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006373/0.6488, allocations: 2.505 MB / 0.9535 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.39/1.039, allocations: 5.39 MB / 0.9588 GB, free: 42.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003451/1.042, allocations: 2.231 MB / 0.961 GB, free: 42.63 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005428/1.048, allocations: 2.691 MB / 0.9636 GB, free: 42.63 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003875/1.052, allocations: 1.962 MB / 0.9655 GB, free: 42.62 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006144/1.052, allocations: 213.2 kB / 0.9657 GB, free: 42.62 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/1.055, allocations: 1.093 MB / 0.9668 GB, free: 42.62 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004758/1.055, allocations: 0.5557 MB / 0.9673 GB, free: 42.54 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001345/1.057, allocations: 1.273 MB / 0.9686 GB, free: 42.17 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004029/1.061, allocations: 3.348 MB / 0.9718 GB, free: 41.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.061, allocations: 1.406 kB / 0.9718 GB, free: 41.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/1.061, allocations: 0 / 0.9718 GB, free: 41.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.523e-05/1.061, allocations: 0 / 0.9718 GB, free: 41.66 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.004238/1.065, allocations: 2.869 MB / 0.9746 GB, free: 40.31 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/1.065, allocations: 17.31 kB / 0.9746 GB, free: 40.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/1.065, allocations: 275.3 kB / 0.9749 GB, free: 40.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/1.067, allocations: 1.535 MB / 0.9764 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/1.067, allocations: 103 kB / 0.9765 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/1.068, allocations: 139.4 kB / 0.9766 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/1.069, allocations: 1.156 MB / 0.9778 GB, free: 39.53 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/1.069, allocations: 1.875 kB / 0.9778 GB, free: 39.53 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.637e-05/1.069, allocations: 49.09 kB / 0.9778 GB, free: 39.53 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/1.069, allocations: 31.28 kB / 0.9778 GB, free: 39.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/1.071, allocations: 1.01 MB / 0.9788 GB, free: 39.51 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.007427/1.078, allocations: 6.328 MB / 0.985 GB, free: 36.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/1.079, allocations: 0.5693 MB / 0.9856 GB, free: 36.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/1.08, allocations: 393 kB / 0.9859 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/1.08, allocations: 0.5073 MB / 0.9864 GB, free: 36.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/1.08, allocations: 38.47 kB / 0.9865 GB, free: 36.19 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001142/1.081, allocations: 234.5 kB / 0.9867 GB, free: 36.13 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 2.785e-06/1.081, allocations: 0 / 0.9867 GB, free: 36.13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.001773/1.083, allocations: 1.179 MB / 0.9879 GB, free: 35.96 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/1.083, allocations: 56.09 kB / 0.9879 GB, free: 35.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/1.085, allocations: 1.899 MB / 0.9898 GB, free: 35.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/1.085, allocations: 46.3 kB / 0.9898 GB, free: 35.63 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/1.086, allocations: 0.9301 MB / 0.9907 GB, free: 35.36 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.086, allocations: 212.4 kB / 0.9909 GB, free: 35.22 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/1.086, allocations: 300.5 kB / 0.9912 GB, free: 35.19 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/1.086, allocations: 355 kB / 0.9915 GB, free: 34.88 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006788/1.087, allocations: 447.9 kB / 0.992 GB, free: 34.88 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008232/1.088, allocations: 0.6857 MB / 0.9926 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.089, allocations: 0.9768 MB / 0.9936 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.089, allocations: 0 / 0.9936 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00205/1.091, allocations: 1.42 MB / 0.995 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.091, allocations: 9.438 kB / 0.995 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.091, allocations: 4.375 kB / 0.995 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.091, allocations: 7.906 kB / 0.995 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/1.092, allocations: 280 kB / 0.9953 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.092, allocations: 12.78 kB / 0.9953 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/1.094, allocations: 76.36 kB / 0.9954 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.094, allocations: 62.78 kB / 0.9954 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001047/1.095, allocations: 0.7074 MB / 0.9961 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007844/1.096, allocations: 0.6641 MB / 0.9968 GB, free: 34.05 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001219/1.097, allocations: 0.9175 MB / 0.9976 GB, free: 33.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.677e-06/1.097, allocations: 2.562 kB / 0.9977 GB, free: 33.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002021/1.099, allocations: 1.362 MB / 0.999 GB, free: 33.72 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.099, allocations: 14.28 kB / 0.999 GB, free: 33.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.099, allocations: 3.906 kB / 0.999 GB, free: 33.72 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/1.099, allocations: 7.594 kB / 0.999 GB, free: 33.72 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.1, allocations: 278 kB / 0.9993 GB, free: 33.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.1, allocations: 8.281 kB / 0.9993 GB, free: 33.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/1.101, allocations: 91.14 kB / 0.9994 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.102, allocations: 57.97 kB / 0.9994 GB, free: 33.71 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.0003038/1.102, allocations: 242 kB / 0.9997 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/1.102, allocations: 208.8 kB / 0.9999 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/1.104, allocations: 1.095 MB / 1.001 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/1.104, allocations: 6.594 kB / 1.001 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.104, allocations: 3.188 kB / 1.001 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.104, allocations: 7.562 kB / 1.001 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/1.107, allocations: 2.437 MB / 1.003 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.107, allocations: 2.562 kB / 1.003 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/1.108, allocations: 141.5 kB / 1.003 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.108, allocations: 5 kB / 1.003 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/1.108, allocations: 18.38 kB / 1.003 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/1.108, allocations: 5.656 kB / 1.003 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.108, allocations: 9.281 kB / 1.003 GB, free: 32.92 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/1.109, allocations: 1.076 MB / 1.005 GB, free: 32.61 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005211/1.11, allocations: 368.6 kB / 1.005 GB, free: 32.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/1.11, allocations: 15.41 kB / 1.005 GB, free: 32.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007601/1.111, allocations: 42.95 kB / 1.005 GB, free: 32.39 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.111, allocations: 54.36 kB / 1.005 GB, free: 32.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/1.111, allocations: 25.7 kB / 1.005 GB, free: 32.39 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001471/1.112, allocations: 1.249 MB / 1.006 GB, free: 32.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.1e-07/1.112, allocations: 0 / 1.006 GB, free: 32.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00183/1.114, allocations: 0.8935 MB / 1.007 GB, free: 32.13 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.0006142/1.115, allocations: 364.7 kB / 1.007 GB, free: 31.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002411/1.117, allocations: 1.626 MB / 1.009 GB, free: 31.97 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.117, allocations: 0 / 1.009 GB, free: 31.97 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005194/1.118, allocations: 413.5 kB / 1.009 GB, free: 31.96 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/1.122, allocations: 1.084 MB / 1.011 GB, free: 31.79 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/1.126, allocations: 3.055 MB / 1.013 GB, free: 30.54 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/1.126, allocations: 1.406 MB / 1.015 GB, free: 29.79 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001469/1.128, allocations: 401.8 kB / 1.015 GB, free: 29.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/1.128, allocations: 170 kB / 1.015 GB, free: 29.68 MB / 0.7169 GB Notification: Performance of SimCode: time 6.62e-07/1.128, allocations: 0 / 1.015 GB, free: 29.68 MB / 0.7169 GB Notification: Performance of Templates: time 0.05218/1.18, allocations: 38.52 MB / 1.053 GB, free: 11 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)