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.001126/0.001126, allocations: 113 kB / 16.42 MB, free: 6.488 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.001199/0.001199, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002275/0.002275, allocations: 303.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9368/0.9368, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4802, allocations: 86.97 MB / 0.7671 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1393/0.6196, allocations: 154.4 MB / 0.9178 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04513/0.6647, allocations: 30.4 MB / 0.9475 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007147/0.6719, allocations: 143.1 kB / 0.9476 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003669/0.6757, allocations: 1.059 MB / 0.9487 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.6867, allocations: 3.329 MB / 0.9519 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007219/0.6939, allocations: 2.506 MB / 0.9544 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4679/1.162, allocations: 5.403 MB / 0.9596 GB, free: 42.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003692/1.166, allocations: 2.236 MB / 0.9618 GB, free: 42.64 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00568/1.171, allocations: 2.754 MB / 0.9645 GB, free: 42.64 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00338/1.175, allocations: 1.96 MB / 0.9664 GB, free: 42.64 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004419/1.175, allocations: 213.1 kB / 0.9666 GB, free: 42.64 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/1.178, allocations: 1.093 MB / 0.9677 GB, free: 42.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004799/1.178, allocations: 0.5604 MB / 0.9682 GB, free: 42.55 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/1.179, allocations: 1.268 MB / 0.9695 GB, free: 42.19 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003318/1.183, allocations: 3.339 MB / 0.9727 GB, free: 41.81 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.183, allocations: 0 / 0.9727 GB, free: 41.81 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/1.183, allocations: 0 / 0.9727 GB, free: 41.81 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.494e-05/1.183, allocations: 1.594 kB / 0.9727 GB, free: 41.81 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.004263/1.187, allocations: 2.781 MB / 0.9755 GB, free: 40.6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/1.187, allocations: 11.81 kB / 0.9755 GB, free: 40.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003746/1.188, allocations: 268.1 kB / 0.9757 GB, free: 40.46 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/1.19, allocations: 1.511 MB / 0.9772 GB, free: 39.94 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/1.19, allocations: 109.2 kB / 0.9773 GB, free: 39.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/1.19, allocations: 138.2 kB / 0.9774 GB, free: 39.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/1.192, allocations: 1.164 MB / 0.9786 GB, free: 39.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/1.192, allocations: 1.875 kB / 0.9786 GB, free: 39.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.192, allocations: 52.55 kB / 0.9786 GB, free: 39.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/1.192, allocations: 28.38 kB / 0.9787 GB, free: 39.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/1.193, allocations: 1.009 MB / 0.9796 GB, free: 39.82 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.008162/1.201, allocations: 6.322 MB / 0.9858 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008084/1.202, allocations: 0.5622 MB / 0.9864 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/1.203, allocations: 394.3 kB / 0.9867 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/1.203, allocations: 0.5067 MB / 0.9872 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/1.203, allocations: 37.62 kB / 0.9873 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001148/1.204, allocations: 232.6 kB / 0.9875 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 3.006e-06/1.204, allocations: 0 / 0.9875 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.001853/1.206, allocations: 1.162 MB / 0.9886 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/1.206, allocations: 56.97 kB / 0.9887 GB, free: 36.24 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/1.208, allocations: 1.901 MB / 0.9905 GB, free: 36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/1.208, allocations: 47.55 kB / 0.9906 GB, free: 35.97 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005332/1.209, allocations: 0.9186 MB / 0.9915 GB, free: 35.71 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/1.209, allocations: 206.3 kB / 0.9917 GB, free: 35.58 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/1.209, allocations: 292 kB / 0.992 GB, free: 35.55 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/1.209, allocations: 353.4 kB / 0.9923 GB, free: 35.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006997/1.21, allocations: 453.6 kB / 0.9927 GB, free: 35.24 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008482/1.211, allocations: 0.6821 MB / 0.9934 GB, free: 35.03 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/1.212, allocations: 0.9717 MB / 0.9943 GB, free: 34.89 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.212, allocations: 0 / 0.9943 GB, free: 34.89 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002066/1.214, allocations: 1.417 MB / 0.9957 GB, free: 34.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.214, allocations: 5.531 kB / 0.9957 GB, free: 34.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.214, allocations: 2.781 kB / 0.9957 GB, free: 34.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.214, allocations: 10.83 kB / 0.9957 GB, free: 34.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.216, allocations: 279.6 kB / 0.996 GB, free: 34.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/1.216, allocations: 8.625 kB / 0.996 GB, free: 34.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.217, allocations: 79.19 kB / 0.9961 GB, free: 34.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.217, allocations: 63.45 kB / 0.9962 GB, free: 34.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001049/1.218, allocations: 0.706 MB / 0.9968 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007805/1.219, allocations: 0.6652 MB / 0.9975 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001231/1.22, allocations: 0.9176 MB / 0.9984 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/1.22, allocations: 2.531 kB / 0.9984 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001979/1.222, allocations: 1.352 MB / 0.9997 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/1.222, allocations: 12.25 kB / 0.9997 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.222, allocations: 5.594 kB / 0.9997 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/1.222, allocations: 6.969 kB / 0.9997 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.223, allocations: 274.6 kB / 1 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.223, allocations: 10.47 kB / 1 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.225, allocations: 87.45 kB / 1 GB, free: 34.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/1.225, allocations: 63.61 kB / 1 GB, free: 34.09 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.000254/1.225, allocations: 236.1 kB / 1 GB, free: 33.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/1.225, allocations: 203.6 kB / 1.001 GB, free: 33.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/1.227, allocations: 1.1 MB / 1.002 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.227, allocations: 3.094 kB / 1.002 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/1.227, allocations: 0 / 1.002 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/1.228, allocations: 353.3 kB / 1.002 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/1.228, allocations: 11.56 kB / 1.002 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/1.229, allocations: 39.41 kB / 1.002 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/1.229, allocations: 46.14 kB / 1.002 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001381/1.23, allocations: 0.8917 MB / 1.003 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0013/1.232, allocations: 1.12 MB / 1.004 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005082/1.232, allocations: 381.5 kB / 1.004 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001465/1.234, allocations: 1.255 MB / 1.006 GB, free: 32.91 MB / 0.7169 GB Notification: Performance of Backend: time 3.91e-07/1.234, allocations: 3.938 kB / 1.006 GB, free: 32.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003421/1.237, allocations: 1.671 MB / 1.007 GB, free: 32.77 MB / 0.7169 GB Notification: Performance of SimCode: time 0.0063/1.243, allocations: 4.122 MB / 1.011 GB, free: 30.96 MB / 0.7169 GB Notification: Performance of Templates: time 0.05319/1.297, allocations: 41.68 MB / 1.052 GB, free: 12.47 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)