Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001141/0.001141, allocations: 111.4 kB / 17.04 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.001179/0.00118, allocations: 194.9 kB / 17.98 MB, free: 5.113 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.386/1.386, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7123/0.7123, allocations: 115.1 MB / 406.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3249, allocations: 76.15 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1845/0.5095, allocations: 154.4 MB / 0.7083 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04669/0.5562, allocations: 30.39 MB / 0.738 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005628/0.5618, allocations: 143.1 kB / 0.7381 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.5654, allocations: 1.04 MB / 0.7392 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009083/0.5745, allocations: 3.161 MB / 0.7422 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006279/0.5808, allocations: 2.512 MB / 0.7447 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3301/0.9109, allocations: 5.386 MB / 0.7499 GB, free: 37.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003653/0.9146, allocations: 2.234 MB / 0.7521 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006968/0.9216, allocations: 2.694 MB / 0.7548 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004541/0.9262, allocations: 1.967 MB / 0.7567 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008362/0.927, allocations: 214.9 kB / 0.7569 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.9302, allocations: 1.093 MB / 0.758 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008036/0.931, allocations: 0.5594 MB / 0.7585 GB, free: 37.61 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002617/0.9336, allocations: 1.268 MB / 0.7597 GB, free: 37.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005418/0.939, allocations: 3.329 MB / 0.763 GB, free: 36.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9391, allocations: 0 / 0.763 GB, free: 36.87 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9391, allocations: 0 / 0.763 GB, free: 36.87 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000108/0.9392, allocations: 0.8125 kB / 0.763 GB, free: 36.87 MB / 0.5762 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.007128/0.9463, allocations: 2.796 MB / 0.7657 GB, free: 35.65 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.9464, allocations: 9.281 kB / 0.7657 GB, free: 35.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000701/0.9471, allocations: 265.8 kB / 0.766 GB, free: 35.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.9501, allocations: 1.514 MB / 0.7675 GB, free: 34.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-05/0.9502, allocations: 100.3 kB / 0.7676 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/0.9505, allocations: 138.2 kB / 0.7677 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.9528, allocations: 1.163 MB / 0.7688 GB, free: 34.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.9528, allocations: 1.875 kB / 0.7688 GB, free: 34.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.9529, allocations: 50.59 kB / 0.7689 GB, free: 34.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.953, allocations: 32.5 kB / 0.7689 GB, free: 34.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.9549, allocations: 1.012 MB / 0.7699 GB, free: 34.88 MB / 0.5762 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.01051/0.9654, allocations: 6.318 MB / 0.7761 GB, free: 32.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009419/0.9663, allocations: 0.5667 MB / 0.7766 GB, free: 32.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.9669, allocations: 390.8 kB / 0.777 GB, free: 32.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.9672, allocations: 0.501 MB / 0.7775 GB, free: 31.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.9673, allocations: 45.23 kB / 0.7775 GB, free: 31.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001528/0.9688, allocations: 230 kB / 0.7777 GB, free: 31.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 3.928e-06/0.9688, allocations: 0 / 0.7777 GB, free: 31.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.00247/0.9713, allocations: 1.163 MB / 0.7789 GB, free: 31.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.9713, allocations: 57.31 kB / 0.7789 GB, free: 31.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/0.9739, allocations: 1.904 MB / 0.7808 GB, free: 31.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.9741, allocations: 44.67 kB / 0.7808 GB, free: 31.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006084/0.9747, allocations: 0.9165 MB / 0.7817 GB, free: 30.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.9749, allocations: 203.6 kB / 0.7819 GB, free: 30.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004202/0.9753, allocations: 295.8 kB / 0.7822 GB, free: 30.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.9754, allocations: 348.5 kB / 0.7825 GB, free: 30.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007366/0.9761, allocations: 456.7 kB / 0.783 GB, free: 30.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008934/0.977, allocations: 0.6805 MB / 0.7836 GB, free: 30.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.9784, allocations: 0.9757 MB / 0.7846 GB, free: 29.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.9784, allocations: 4 kB / 0.7846 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002421/0.9809, allocations: 1.418 MB / 0.786 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.9809, allocations: 8.469 kB / 0.786 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.9809, allocations: 2.656 kB / 0.786 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.9809, allocations: 12.53 kB / 0.786 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.9822, allocations: 277.6 kB / 0.7863 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.9822, allocations: 11.41 kB / 0.7863 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.9842, allocations: 75.34 kB / 0.7864 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.9843, allocations: 61.45 kB / 0.7864 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00135/0.9857, allocations: 0.7085 MB / 0.7871 GB, free: 29.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008646/0.9866, allocations: 0.6582 MB / 0.7877 GB, free: 29.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001343/0.9879, allocations: 0.9174 MB / 0.7886 GB, free: 29.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.6e-06/0.9879, allocations: 2.438 kB / 0.7886 GB, free: 29.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002301/0.9902, allocations: 1.353 MB / 0.79 GB, free: 29.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.9903, allocations: 6.125 kB / 0.79 GB, free: 29.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.9903, allocations: 2.5 kB / 0.79 GB, free: 29.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.9903, allocations: 7.938 kB / 0.79 GB, free: 29.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.9915, allocations: 277.3 kB / 0.7902 GB, free: 29.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.9915, allocations: 12.91 kB / 0.7903 GB, free: 29.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.9935, allocations: 87.98 kB / 0.7903 GB, free: 29.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.9937, allocations: 59.16 kB / 0.7904 GB, free: 29.17 MB / 0.5762 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.0003369/0.994, allocations: 243.8 kB / 0.7906 GB, free: 28.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/0.9944, allocations: 200.2 kB / 0.7908 GB, free: 28.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.9963, allocations: 1.09 MB / 0.7919 GB, free: 28.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.9964, allocations: 6.281 kB / 0.7919 GB, free: 28.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.9964, allocations: 0 / 0.7919 GB, free: 28.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.9964, allocations: 4.578 kB / 0.7919 GB, free: 28.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/1, allocations: 2.449 MB / 0.7943 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1, allocations: 3.812 kB / 0.7943 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/1.001, allocations: 129 kB / 0.7944 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/1.001, allocations: 8.891 kB / 0.7944 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/1.001, allocations: 19.3 kB / 0.7944 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/1.001, allocations: 10.16 kB / 0.7945 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.001, allocations: 7.062 kB / 0.7945 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/1.002, allocations: 1.066 MB / 0.7955 GB, free: 28.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007314/1.003, allocations: 363.1 kB / 0.7958 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/1.003, allocations: 16.3 kB / 0.7959 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007605/1.004, allocations: 37.27 kB / 0.7959 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.004, allocations: 55.7 kB / 0.7959 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/1.004, allocations: 24.38 kB / 0.796 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001536/1.006, allocations: 1.257 MB / 0.7972 GB, free: 27.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.006, allocations: 0 / 0.7972 GB, free: 27.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002165/1.008, allocations: 0.8884 MB / 0.7981 GB, free: 27.61 MB / 0.5762 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.0006874/1.009, allocations: 357.9 kB / 0.7984 GB, free: 27.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002596/1.011, allocations: 1.619 MB / 0.8 GB, free: 27.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.011, allocations: 3 kB / 0.8 GB, free: 27.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006268/1.012, allocations: 416.6 kB / 0.8004 GB, free: 27.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/1.016, allocations: 1.078 MB / 0.8014 GB, free: 27.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/1.02, allocations: 2.984 MB / 0.8044 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/1.021, allocations: 1.412 MB / 0.8057 GB, free: 25.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001834/1.023, allocations: 406.7 kB / 0.8061 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/1.024, allocations: 160 kB / 0.8063 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of SimCode: time 6.02e-07/1.024, allocations: 0 / 0.8063 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.05062/1.074, allocations: 38.29 MB / 0.8437 GB, free: 8.523 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)