Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001428/0.001428, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.31/1.31, 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.002219/0.002219, allocations: 289.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9431/0.9431, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003465/0.003466, allocations: 99.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4877/0.4912, allocations: 86.98 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0158/0.5071, allocations: 15.52 MB / 0.7822 GB, free: 4.363 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006304/0.5134, allocations: 4.338 MB / 0.7865 GB, free: 12 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007062/0.5142, allocations: 19.92 kB / 0.7865 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009831/0.5152, allocations: 274.3 kB / 0.7867 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.5168, allocations: 0.6246 MB / 0.7873 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.5186, allocations: 0.7101 MB / 0.788 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.5199, allocations: 1.032 MB / 0.789 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.5203, allocations: 345.7 kB / 0.7894 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006955/0.521, allocations: 430.2 kB / 0.7898 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004042/0.5214, allocations: 314.6 kB / 0.7901 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.5215, allocations: 32 kB / 0.7901 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.5227, allocations: 0.6355 MB / 0.7907 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.5229, allocations: 91.67 kB / 0.7908 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.5231, allocations: 230.7 kB / 0.791 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.5242, allocations: 0.7697 MB / 0.7918 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5242, allocations: 0 / 0.7918 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5242, allocations: 0 / 0.7918 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5242, allocations: 0 / 0.7918 GB, free: 10.53 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001166/0.5254, allocations: 0.8446 MB / 0.7926 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5254, allocations: 8.031 kB / 0.7926 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.5256, allocations: 52.38 kB / 0.7927 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006294/0.5262, allocations: 429.4 kB / 0.7931 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.5262, allocations: 20.44 kB / 0.7931 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.5263, allocations: 28 kB / 0.7931 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.5267, allocations: 219.2 kB / 0.7933 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5267, allocations: 0 / 0.7933 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.5267, allocations: 4 kB / 0.7933 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.5267, allocations: 4 kB / 0.7934 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.5271, allocations: 173.6 kB / 0.7935 GB, free: 8.676 MB / 0.5606 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.001474/0.5286, allocations: 0.9379 MB / 0.7944 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.5289, allocations: 138.5 kB / 0.7946 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.529, allocations: 76.8 kB / 0.7946 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.5293, allocations: 344.5 kB / 0.795 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.5293, allocations: 30.56 kB / 0.795 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.5293, allocations: 0 / 0.795 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0005876/0.5299, allocations: 231.8 kB / 0.7952 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.53, allocations: 55.41 kB / 0.7953 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.5305, allocations: 485.9 kB / 0.7957 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.5305, allocations: 29.7 kB / 0.7958 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.5307, allocations: 228.6 kB / 0.796 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.5307, allocations: 47.36 kB / 0.796 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.5308, allocations: 61.55 kB / 0.7961 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.531, allocations: 358.7 kB / 0.7964 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.5311, allocations: 76.81 kB / 0.7965 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.5314, allocations: 149.9 kB / 0.7966 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.5317, allocations: 158.5 kB / 0.7968 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5318, allocations: 0 / 0.7968 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004794/0.5322, allocations: 259.9 kB / 0.797 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5323, allocations: 4 kB / 0.797 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5323, allocations: 0 / 0.797 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5323, allocations: 4 kB / 0.797 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.5325, allocations: 51.91 kB / 0.7971 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.5325, allocations: 0 / 0.7971 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.5328, allocations: 43.66 kB / 0.7971 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.5329, allocations: 8 kB / 0.7971 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002626/0.5331, allocations: 195.9 kB / 0.7973 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002321/0.5334, allocations: 161.4 kB / 0.7975 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003127/0.5337, allocations: 168.2 kB / 0.7976 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.5337, allocations: 3.938 kB / 0.7977 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004784/0.5342, allocations: 253.2 kB / 0.7979 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.5342, allocations: 7.938 kB / 0.7979 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-06/0.5342, allocations: 0 / 0.7979 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.5342, allocations: 4 kB / 0.7979 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.5344, allocations: 51.89 kB / 0.798 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.5344, allocations: 0 / 0.798 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.5348, allocations: 31.88 kB / 0.798 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.5348, allocations: 16.06 kB / 0.798 GB, free: 3.758 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001422/0.5349, allocations: 200.1 kB / 0.7982 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.535, allocations: 43.44 kB / 0.7982 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.5355, allocations: 245.3 kB / 0.7985 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5356, allocations: 0 / 0.7985 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5356, allocations: 4 kB / 0.7985 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.5357, allocations: 136.5 kB / 0.7986 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.5358, allocations: 8 kB / 0.7986 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.536, allocations: 11.92 kB / 0.7986 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.536, allocations: 15.98 kB / 0.7986 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004412/0.5365, allocations: 276.7 kB / 0.7989 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004408/0.5369, allocations: 389.2 kB / 0.7993 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001612/0.5371, allocations: 83.08 kB / 0.7993 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003513/0.5375, allocations: 334.9 kB / 0.7997 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of Backend: time 4.21e-07/0.5375, allocations: 0 / 0.7997 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.5397, allocations: 0.8104 MB / 0.8005 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001668/0.5414, allocations: 1.245 MB / 0.8017 GB, free: 88 kB / 0.5606 GB Notification: Performance of Templates: time 0.01507/0.5564, allocations: 9.816 MB / 0.8113 GB, free: 6.406 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)