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.001743/0.001743, allocations: 106 kB / 16.41 MB, free: 6.461 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.00185/0.00185, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 288 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9538/0.9538, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 95.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4195, allocations: 86.98 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.157/0.5766, allocations: 154.4 MB / 0.9178 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04348/0.6201, allocations: 30.41 MB / 0.9475 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00522/0.6254, allocations: 135.2 kB / 0.9476 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003501/0.629, allocations: 1.059 MB / 0.9487 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009888/0.6389, allocations: 3.33 MB / 0.9519 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006756/0.6456, allocations: 2.504 MB / 0.9544 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.436/1.082, allocations: 5.401 MB / 0.9596 GB, free: 42.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004369/1.086, allocations: 2.236 MB / 0.9618 GB, free: 42.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007039/1.093, allocations: 2.757 MB / 0.9645 GB, free: 42.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004376/1.098, allocations: 1.959 MB / 0.9664 GB, free: 42.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008909/1.098, allocations: 214.4 kB / 0.9666 GB, free: 42.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/1.102, allocations: 1.096 MB / 0.9677 GB, free: 42.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007746/1.103, allocations: 0.5577 MB / 0.9682 GB, free: 42.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002207/1.105, allocations: 1.266 MB / 0.9695 GB, free: 42.12 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004553/1.109, allocations: 3.338 MB / 0.9727 GB, free: 41.74 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/1.109, allocations: 0 / 0.9727 GB, free: 41.74 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/1.109, allocations: 0 / 0.9727 GB, free: 41.74 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.917e-05/1.11, allocations: 0 / 0.9727 GB, free: 41.74 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.005347/1.115, allocations: 2.787 MB / 0.9755 GB, free: 40.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.115, allocations: 8.469 kB / 0.9755 GB, free: 40.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005094/1.115, allocations: 271.4 kB / 0.9757 GB, free: 40.39 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/1.118, allocations: 1.514 MB / 0.9772 GB, free: 39.86 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.675e-05/1.118, allocations: 107.5 kB / 0.9773 GB, free: 39.85 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/1.118, allocations: 139.5 kB / 0.9774 GB, free: 39.85 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/1.12, allocations: 1.156 MB / 0.9786 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/1.12, allocations: 5.812 kB / 0.9786 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.12, allocations: 48.89 kB / 0.9786 GB, free: 39.76 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/1.12, allocations: 29.81 kB / 0.9787 GB, free: 39.76 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/1.122, allocations: 1.014 MB / 0.9796 GB, free: 39.75 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.00916/1.131, allocations: 6.317 MB / 0.9858 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000913/1.132, allocations: 0.567 MB / 0.9864 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/1.133, allocations: 385.5 kB / 0.9867 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/1.133, allocations: 0.5116 MB / 0.9872 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/1.133, allocations: 40.72 kB / 0.9873 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001448/1.134, allocations: 231.7 kB / 0.9875 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 3.096e-06/1.134, allocations: 0 / 0.9875 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.002056/1.136, allocations: 1.158 MB / 0.9886 GB, free: 36.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/1.136, allocations: 64.12 kB / 0.9887 GB, free: 36.17 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/1.139, allocations: 1.899 MB / 0.9905 GB, free: 35.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/1.139, allocations: 45.8 kB / 0.9906 GB, free: 35.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/1.14, allocations: 0.9176 MB / 0.9915 GB, free: 35.64 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/1.14, allocations: 206.2 kB / 0.9917 GB, free: 35.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003941/1.14, allocations: 293 kB / 0.992 GB, free: 35.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/1.14, allocations: 351 kB / 0.9923 GB, free: 35.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000748/1.141, allocations: 456.3 kB / 0.9927 GB, free: 35.17 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009148/1.142, allocations: 0.6842 MB / 0.9934 GB, free: 34.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/1.143, allocations: 0.9725 MB / 0.9943 GB, free: 34.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.143, allocations: 5.938 kB / 0.9943 GB, free: 34.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002439/1.146, allocations: 1.413 MB / 0.9957 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.146, allocations: 10.41 kB / 0.9957 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.146, allocations: 2.531 kB / 0.9957 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/1.146, allocations: 7.906 kB / 0.9957 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.147, allocations: 278.6 kB / 0.996 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/1.147, allocations: 8.812 kB / 0.996 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/1.149, allocations: 76.94 kB / 0.9961 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.149, allocations: 60.42 kB / 0.9962 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001295/1.15, allocations: 0.7101 MB / 0.9968 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008541/1.151, allocations: 0.6631 MB / 0.9975 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001291/1.152, allocations: 0.919 MB / 0.9984 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/1.152, allocations: 4.734 kB / 0.9984 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002365/1.155, allocations: 1.355 MB / 0.9997 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.155, allocations: 7.25 kB / 0.9997 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.155, allocations: 7.562 kB / 0.9997 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/1.155, allocations: 6.344 kB / 0.9997 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.156, allocations: 276.5 kB / 1 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/1.156, allocations: 8.312 kB / 1 GB, free: 34.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.158, allocations: 90.78 kB / 1 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.867e-05/1.158, allocations: 59.64 kB / 1 GB, free: 34.02 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.000326/1.158, allocations: 239.7 kB / 1 GB, free: 33.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/1.159, allocations: 201.4 kB / 1.001 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/1.161, allocations: 1.099 MB / 1.002 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/1.161, allocations: 7.781 kB / 1.002 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.161, allocations: 0 / 1.002 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.161, allocations: 8.828 kB / 1.002 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/1.164, allocations: 2.438 MB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.165, allocations: 6.312 kB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/1.165, allocations: 132.9 kB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/1.165, allocations: 8.969 kB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/1.165, allocations: 20.28 kB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/1.165, allocations: 5.438 kB / 1.004 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.165, allocations: 9.844 kB / 1.004 GB, free: 33.24 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/1.167, allocations: 1.067 MB / 1.005 GB, free: 32.94 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/1.167, allocations: 353.1 kB / 1.006 GB, free: 32.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/1.168, allocations: 16.88 kB / 1.006 GB, free: 32.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008068/1.168, allocations: 40.44 kB / 1.006 GB, free: 32.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.169, allocations: 52.53 kB / 1.006 GB, free: 32.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/1.169, allocations: 26.52 kB / 1.006 GB, free: 32.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002193/1.171, allocations: 1.25 MB / 1.007 GB, free: 32.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.1e-07/1.171, allocations: 2.781 kB / 1.007 GB, free: 32.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003461/1.174, allocations: 0.8882 MB / 1.008 GB, free: 32.48 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.001018/1.175, allocations: 354.5 kB / 1.008 GB, free: 32.33 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003456/1.179, allocations: 1.622 MB / 1.01 GB, free: 32.31 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.179, allocations: 0 / 1.01 GB, free: 32.31 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007192/1.18, allocations: 416.2 kB / 1.01 GB, free: 32.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005982/1.186, allocations: 1.085 MB / 1.011 GB, free: 32.14 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005604/1.191, allocations: 3.029 MB / 1.014 GB, free: 30.85 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000799/1.192, allocations: 1.403 MB / 1.016 GB, free: 30.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008521/1.193, allocations: 167.3 kB / 1.016 GB, free: 30.09 MB / 0.7169 GB Notification: Performance of SimCode: time 1.503e-06/1.193, allocations: 3.188 kB / 1.016 GB, free: 30.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.04007/1.233, allocations: 31.03 MB / 1.046 GB, free: 3.051 MB / 0.7169 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)