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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8323/0.8323, allocations: 143.4 MB / 159.2 MB, free: 4.922 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 176.5 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009713/0.0009714, allocations: 99.72 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001904/0.001905, allocations: 272.2 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 83.88 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4149, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4472/0.8622, allocations: 153.3 MB / 0.9176 GB, free: 38.85 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03636/0.8986, allocations: 30.38 MB / 0.9473 GB, free: 38.33 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005774/0.9044, allocations: 118.5 kB / 0.9474 GB, free: 38.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003734/0.9082, allocations: 0.8283 MB / 0.9482 GB, free: 38.31 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008089/0.9164, allocations: 2.89 MB / 0.951 GB, free: 37.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005621/0.922, allocations: 2.278 MB / 0.9533 GB, free: 37.07 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007119/0.9291, allocations: 7.411 MB / 0.9605 GB, free: 34.58 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.9314, allocations: 1.88 MB / 0.9623 GB, free: 33.4 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004547/0.936, allocations: 2.446 MB / 0.9647 GB, free: 32.14 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.9389, allocations: 1.983 MB / 0.9667 GB, free: 31.14 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003631/0.9392, allocations: 119.2 kB / 0.9668 GB, free: 31.14 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.9417, allocations: 0.9622 MB / 0.9677 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.9421, allocations: 476.9 kB / 0.9682 GB, free: 30.34 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.9433, allocations: 1.167 MB / 0.9693 GB, free: 29.6 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.9463, allocations: 3.188 MB / 0.9724 GB, free: 27.46 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9464, allocations: 4 kB / 0.9724 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.72e-07/0.9464, allocations: 0 / 0.9724 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.474e-05/0.9464, allocations: 2.75 kB / 0.9724 GB, free: 27.45 MB / 0.5573 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.004162/0.9506, allocations: 2.79 MB / 0.9751 GB, free: 25.23 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.9506, allocations: 15.95 kB / 0.9752 GB, free: 25.22 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.951, allocations: 260.9 kB / 0.9754 GB, free: 24.96 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.9528, allocations: 1.431 MB / 0.9768 GB, free: 23.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.9529, allocations: 110.3 kB / 0.9769 GB, free: 23.39 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.953, allocations: 136 kB / 0.977 GB, free: 23.26 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.9546, allocations: 1.161 MB / 0.9782 GB, free: 22.07 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.9547, allocations: 0 / 0.9782 GB, free: 22.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.9547, allocations: 59.92 kB / 0.9782 GB, free: 22.02 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.9548, allocations: 28 kB / 0.9783 GB, free: 21.99 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.9562, allocations: 1.005 MB / 0.9792 GB, free: 20.98 MB / 0.5573 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.007867/0.9641, allocations: 6.318 MB / 0.9854 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.9649, allocations: 0.5737 MB / 0.986 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.9654, allocations: 384 kB / 0.9863 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.9657, allocations: 0.5044 MB / 0.9868 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.9657, allocations: 39.06 kB / 0.9869 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001558/0.9673, allocations: 335.5 kB / 0.9872 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=58): time 3.567e-06/0.9673, allocations: 0 / 0.9872 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58): time 0.001697/0.969, allocations: 1.117 MB / 0.9883 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.969, allocations: 59.97 kB / 0.9883 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.9708, allocations: 1.892 MB / 0.9902 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.9708, allocations: 41.7 kB / 0.9902 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/0.9713, allocations: 0.9208 MB / 0.9911 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.9714, allocations: 203.5 kB / 0.9913 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003684/0.9718, allocations: 298.5 kB / 0.9916 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.9719, allocations: 345.9 kB / 0.9919 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/0.9725, allocations: 445.9 kB / 0.9924 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007985/0.9733, allocations: 0.6801 MB / 0.993 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.9745, allocations: 0.9539 MB / 0.994 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.9746, allocations: 4 kB / 0.994 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002016/0.9766, allocations: 1.393 MB / 0.9953 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.9766, allocations: 12 kB / 0.9953 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.9766, allocations: 4 kB / 0.9953 GB, free: 3.789 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.9767, allocations: 8 kB / 0.9953 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.9778, allocations: 291.5 kB / 0.9956 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.9778, allocations: 11.98 kB / 0.9956 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.9794, allocations: 151.5 kB / 0.9958 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.85e-05/0.9795, allocations: 59.95 kB / 0.9958 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001033/0.9805, allocations: 0.7066 MB / 0.9965 GB, free: 2.566 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007335/0.9813, allocations: 0.6567 MB / 0.9972 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001131/0.9824, allocations: 0.9071 MB / 0.998 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.9824, allocations: 4 kB / 0.998 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.001968/0.9844, allocations: 1.349 MB / 0.9994 GB, free: 15.53 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.9844, allocations: 7.938 kB / 0.9994 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.9844, allocations: 4 kB / 0.9994 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.9844, allocations: 8 kB / 0.9994 GB, free: 15.51 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.9856, allocations: 284 kB / 0.9997 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.9856, allocations: 15.98 kB / 0.9997 GB, free: 15.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.9872, allocations: 147.6 kB / 0.9998 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.76e-05/0.9873, allocations: 67.89 kB / 0.9999 GB, free: 15 MB / 0.573 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.000268/0.9876, allocations: 240 kB / 1 GB, free: 14.76 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.9879, allocations: 201.4 kB / 1 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.9899, allocations: 1.068 MB / 1.001 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.9899, allocations: 11.98 kB / 1.001 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.9899, allocations: 8 kB / 1.001 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.99, allocations: 11.86 kB / 1.001 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.9935, allocations: 2.401 MB / 1.004 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.9936, allocations: 0 / 1.004 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.9941, allocations: 135.8 kB / 1.004 GB, free: 10.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.9942, allocations: 4 kB / 1.004 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.9942, allocations: 23.98 kB / 1.004 GB, free: 10.86 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.9942, allocations: 4.188 kB / 1.004 GB, free: 10.86 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.9942, allocations: 8 kB / 1.004 GB, free: 10.85 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.9968, allocations: 2.379 MB / 1.006 GB, free: 8.395 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/0.9975, allocations: 350.4 kB / 1.007 GB, free: 8.031 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.9977, allocations: 19.98 kB / 1.007 GB, free: 8.012 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009057/0.9986, allocations: 95.64 kB / 1.007 GB, free: 7.918 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.9987, allocations: 56.52 kB / 1.007 GB, free: 7.863 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.9988, allocations: 24 kB / 1.007 GB, free: 7.84 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001584/1, allocations: 1.248 MB / 1.008 GB, free: 6.578 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/1, allocations: 0 / 1.008 GB, free: 6.578 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002322/1.003, allocations: 0.9121 MB / 1.009 GB, free: 5.664 MB / 0.573 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.000691/1.003, allocations: 346 kB / 1.009 GB, free: 5.348 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00269/1.006, allocations: 1.603 MB / 1.011 GB, free: 3.75 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.006, allocations: 4 kB / 1.011 GB, free: 3.746 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005935/1.007, allocations: 391.5 kB / 1.011 GB, free: 3.363 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005366/1.012, allocations: 1.135 MB / 1.012 GB, free: 2.238 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/1.017, allocations: 4.092 MB / 1.016 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009014/1.018, allocations: 1.428 MB / 1.018 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00202/1.02, allocations: 396.4 kB / 1.018 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/1.021, allocations: 163.4 kB / 1.018 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of SimCode: time 1.283e-06/1.021, allocations: 0 / 1.018 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of Templates: time 0.06317/1.084, allocations: 38.26 MB / 1.056 GB, free: 6.355 MB / 0.6198 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)