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.0007972/0.0007972, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008836/0.0008836, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 274.4 kB / 291.3 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9619/0.9619, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004139, allocations: 13.91 kB / 0.598 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1879, allocations: 88.54 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01473/0.2027, allocations: 14.21 MB / 0.6984 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006299/0.209, allocations: 4.06 MB / 0.7023 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007452/0.2098, allocations: 15.88 kB / 0.7023 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.2109, allocations: 202.9 kB / 0.7025 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.2126, allocations: 486.1 kB / 0.703 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.2145, allocations: 0.6029 MB / 0.7036 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.2161, allocations: 1.126 MB / 0.7047 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00049/0.2166, allocations: 258.4 kB / 0.7049 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007368/0.2173, allocations: 366.4 kB / 0.7053 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.2178, allocations: 306.6 kB / 0.7056 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.2178, allocations: 12 kB / 0.7056 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.2188, allocations: 0.5381 MB / 0.7061 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.2189, allocations: 83.59 kB / 0.7062 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.713e-05/0.219, allocations: 105.5 kB / 0.7063 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.2197, allocations: 0.5261 MB / 0.7068 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2197, allocations: 0 / 0.7068 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2197, allocations: 0 / 0.7068 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.2197, allocations: 4 kB / 0.7068 GB, free: 8.535 MB / 0.4981 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.001087/0.2208, allocations: 0.7473 MB / 0.7075 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2208, allocations: 12.03 kB / 0.7075 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.2209, allocations: 59.3 kB / 0.7076 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.2215, allocations: 396.9 kB / 0.708 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.2216, allocations: 24.44 kB / 0.708 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.2216, allocations: 28 kB / 0.708 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.2221, allocations: 215.2 kB / 0.7082 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2221, allocations: 4 kB / 0.7082 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.2221, allocations: 8 kB / 0.7082 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2221, allocations: 4 kB / 0.7083 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.2225, allocations: 173.6 kB / 0.7084 GB, free: 6.789 MB / 0.4981 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.001492/0.224, allocations: 0.9496 MB / 0.7093 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.2243, allocations: 138.5 kB / 0.7095 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.2245, allocations: 80.75 kB / 0.7096 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.2248, allocations: 344.5 kB / 0.7099 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2248, allocations: 42.56 kB / 0.7099 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.2248, allocations: 0 / 0.7099 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005932/0.2254, allocations: 245 kB / 0.7102 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.2255, allocations: 59.41 kB / 0.7102 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.226, allocations: 477.9 kB / 0.7107 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.226, allocations: 29.7 kB / 0.7107 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.2262, allocations: 224.6 kB / 0.7109 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.2262, allocations: 51.3 kB / 0.711 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.2263, allocations: 4 kB / 0.711 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2264, allocations: 350.8 kB / 0.7113 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.2266, allocations: 67.95 kB / 0.7114 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.2268, allocations: 158.2 kB / 0.7115 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.227, allocations: 102 kB / 0.7116 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.227, allocations: 0 / 0.7116 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004706/0.2275, allocations: 261 kB / 0.7119 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.824e-05/0.2276, allocations: 104.9 kB / 0.712 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2276, allocations: 0 / 0.712 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2276, allocations: 0 / 0.712 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2279, allocations: 55.97 kB / 0.712 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2279, allocations: 3.938 kB / 0.712 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.2282, allocations: 39.81 kB / 0.7121 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.2282, allocations: 11.98 kB / 0.7121 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-06/0.2282, allocations: 4 kB / 0.7121 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004002/0.2286, allocations: 191.7 kB / 0.7123 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.2286, allocations: 3.938 kB / 0.7123 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.2287, allocations: 4 kB / 0.7123 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.2289, allocations: 47.97 kB / 0.7123 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2289, allocations: 3.938 kB / 0.7123 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.2291, allocations: 43.81 kB / 0.7124 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.2292, allocations: 11.98 kB / 0.7124 GB, free: 2.496 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.2294, allocations: 237.7 kB / 0.7126 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.2295, allocations: 47.39 kB / 0.7126 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.23, allocations: 267.7 kB / 0.7129 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.2301, allocations: 4 kB / 0.7129 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2301, allocations: 0 / 0.7129 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2301, allocations: 4 kB / 0.7129 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.2311, allocations: 0.72 MB / 0.7136 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.2311, allocations: 4 kB / 0.7136 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.2312, allocations: 35.91 kB / 0.7136 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2313, allocations: 4 kB / 0.7136 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2313, allocations: 0 / 0.7136 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2313, allocations: 4 kB / 0.7136 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2313, allocations: 0 / 0.7136 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.2317, allocations: 346.4 kB / 0.714 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.2319, allocations: 160.5 kB / 0.7141 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.232, allocations: 4 kB / 0.7141 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.2322, allocations: 19.98 kB / 0.7142 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.2322, allocations: 15.97 kB / 0.7142 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.2323, allocations: 11.98 kB / 0.7142 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003803/0.2326, allocations: 334.8 kB / 0.7145 GB, free: 184 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2326, allocations: 0 / 0.7145 GB, free: 184 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007103/0.2334, allocations: 203.6 kB / 0.7147 GB, free: 15.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/0.2345, allocations: 472.8 kB / 0.7151 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006173/0.2351, allocations: 279.7 kB / 0.7154 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2351, allocations: 0 / 0.7154 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.2353, allocations: 91.83 kB / 0.7155 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.2365, allocations: 227.8 kB / 0.7157 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.2378, allocations: 0.8368 MB / 0.7165 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.2382, allocations: 0.8311 MB / 0.7173 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002973/0.2385, allocations: 90.11 kB / 0.7174 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.2386, allocations: 39.42 kB / 0.7175 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.2386, allocations: 0 / 0.7175 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.0143/0.2529, allocations: 8.068 MB / 0.7253 GB, free: 5.281 MB / 0.5137 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)