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.001253/0.001253, allocations: 112 kB / 15.99 MB, free: 6.348 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.001222/0.001222, allocations: 191.9 kB / 16.91 MB, free: 6.188 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.252/1.252, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 286.5 kB / 291 MB, free: 14.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.2 MB / 0.4985 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 93.69 kB / 0.5953 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1733, allocations: 86.98 MB / 0.6803 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4265/0.5999, allocations: 153 MB / 0.8296 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04247/0.6424, allocations: 30.19 MB / 0.8591 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007404/0.6498, allocations: 131.1 kB / 0.8592 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003826/0.6537, allocations: 0.8623 MB / 0.8601 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.6651, allocations: 2.946 MB / 0.863 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006364/0.6715, allocations: 2.301 MB / 0.8652 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008259/0.6797, allocations: 5.404 MB / 0.8705 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/0.6832, allocations: 2.186 MB / 0.8726 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006917/0.6901, allocations: 2.716 MB / 0.8753 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003897/0.694, allocations: 2.015 MB / 0.8772 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004909/0.6946, allocations: 216 kB / 0.8775 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.6973, allocations: 1.088 MB / 0.8785 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005468/0.6978, allocations: 0.5642 MB / 0.8791 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001573/0.6994, allocations: 1.271 MB / 0.8803 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.7024, allocations: 2.533 MB / 0.8828 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7025, allocations: 7.938 kB / 0.8828 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7025, allocations: 0 / 0.8828 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.577e-05/0.7025, allocations: 0 / 0.8828 GB, free: 15.98 MB / 0.6544 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.005304/0.7078, allocations: 2.793 MB / 0.8855 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.7079, allocations: 8.031 kB / 0.8855 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.7084, allocations: 264.8 kB / 0.8858 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.7105, allocations: 1.461 MB / 0.8872 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.74e-05/0.7106, allocations: 106.3 kB / 0.8873 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.7108, allocations: 136 kB / 0.8874 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.713, allocations: 1.159 MB / 0.8886 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.713, allocations: 0 / 0.8886 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.7131, allocations: 51.94 kB / 0.8886 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.7132, allocations: 28 kB / 0.8886 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.7149, allocations: 1.016 MB / 0.8896 GB, free: 8.801 MB / 0.6544 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.01021/0.7251, allocations: 6.309 MB / 0.8958 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009448/0.7261, allocations: 0.5758 MB / 0.8964 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.7267, allocations: 383.2 kB / 0.8967 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004206/0.7271, allocations: 0.5031 MB / 0.8972 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.7271, allocations: 35.12 kB / 0.8973 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001712/0.7289, allocations: 302.8 kB / 0.8975 GB, free: 116 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=58): time 3.937e-06/0.7289, allocations: 0 / 0.8975 GB, free: 116 kB / 0.6544 GB Notification: Performance of matching and sorting (n=58): time 0.0021/0.731, allocations: 1.164 MB / 0.8987 GB, free: 14.94 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.731, allocations: 59.97 kB / 0.8987 GB, free: 14.87 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.7332, allocations: 1.908 MB / 0.9006 GB, free: 12.94 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.105e-05/0.7333, allocations: 45.7 kB / 0.9006 GB, free: 12.89 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007069/0.734, allocations: 0.9145 MB / 0.9015 GB, free: 11.96 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.7342, allocations: 205.1 kB / 0.9017 GB, free: 11.76 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004098/0.7346, allocations: 302.4 kB / 0.902 GB, free: 11.46 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7348, allocations: 353.9 kB / 0.9024 GB, free: 11.11 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/0.7355, allocations: 445.9 kB / 0.9028 GB, free: 10.67 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009655/0.7365, allocations: 0.6879 MB / 0.9035 GB, free: 9.906 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.7379, allocations: 0.9734 MB / 0.9044 GB, free: 8.887 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.738, allocations: 4 kB / 0.9044 GB, free: 8.883 MB / 0.67 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002485/0.7405, allocations: 1.404 MB / 0.9058 GB, free: 7.469 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7405, allocations: 10.19 kB / 0.9058 GB, free: 7.461 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.7405, allocations: 7.984 kB / 0.9058 GB, free: 7.453 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.7405, allocations: 8 kB / 0.9058 GB, free: 7.445 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.7418, allocations: 279.5 kB / 0.9061 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.7418, allocations: 8 kB / 0.9061 GB, free: 7.164 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.7435, allocations: 144 kB / 0.9062 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.7436, allocations: 59.95 kB / 0.9063 GB, free: 6.965 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00125/0.7449, allocations: 0.7133 MB / 0.907 GB, free: 6.246 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008859/0.7458, allocations: 0.6528 MB / 0.9076 GB, free: 5.52 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001329/0.7471, allocations: 0.9227 MB / 0.9085 GB, free: 4.559 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.7471, allocations: 0 / 0.9085 GB, free: 4.559 MB / 0.67 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002258/0.7494, allocations: 1.349 MB / 0.9098 GB, free: 3.199 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7494, allocations: 8 kB / 0.9098 GB, free: 3.191 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7494, allocations: 3.984 kB / 0.9098 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.7494, allocations: 8 kB / 0.9098 GB, free: 3.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.7506, allocations: 279.9 kB / 0.9101 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.7506, allocations: 8 kB / 0.9101 GB, free: 2.898 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.7524, allocations: 143.7 kB / 0.9103 GB, free: 2.758 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.7525, allocations: 59.89 kB / 0.9103 GB, free: 2.699 MB / 0.67 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.0003456/0.7528, allocations: 246.3 kB / 0.9105 GB, free: 2.453 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.7531, allocations: 201.4 kB / 0.9107 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.7552, allocations: 1.098 MB / 0.9118 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.7552, allocations: 11.98 kB / 0.9118 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7552, allocations: 0 / 0.9118 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.7553, allocations: 11.92 kB / 0.9118 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.7588, allocations: 2.445 MB / 0.9142 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.7588, allocations: 0 / 0.9142 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.7594, allocations: 135.8 kB / 0.9144 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.7595, allocations: 4 kB / 0.9144 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.7595, allocations: 16 kB / 0.9144 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.7595, allocations: 12.17 kB / 0.9144 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7595, allocations: 4 kB / 0.9144 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.761, allocations: 1.07 MB / 0.9154 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005853/0.7616, allocations: 358.3 kB / 0.9158 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.7618, allocations: 20 kB / 0.9158 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/0.7627, allocations: 99.66 kB / 0.9159 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.7628, allocations: 48.59 kB / 0.9159 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.7629, allocations: 31.92 kB / 0.916 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001575/0.7645, allocations: 1.248 MB / 0.9172 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7645, allocations: 0 / 0.9172 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001994/0.7665, allocations: 0.8966 MB / 0.9181 GB, free: 10.59 MB / 0.6856 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.0006684/0.7671, allocations: 343.5 kB / 0.9184 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003022/0.7702, allocations: 1.665 MB / 0.92 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7702, allocations: 4.125 kB / 0.92 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006009/0.7708, allocations: 411.5 kB / 0.9204 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004454/0.7753, allocations: 1.08 MB / 0.9215 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.7803, allocations: 3.777 MB / 0.9252 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008626/0.7811, allocations: 1.405 MB / 0.9265 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005467/0.7817, allocations: 163.4 kB / 0.9267 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/0.7817, allocations: 0 / 0.9267 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of Templates: time 0.04736/0.8291, allocations: 30.84 MB / 0.9568 GB, free: 3.234 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)