Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7167/0.7167, allocations: 128.7 MB / 144.5 MB, free: 1.383 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 181.2 kB / 174.2 MB, free: 5.945 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205 MB / 408.9 MB, free: 9.758 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 93.97 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009637/0.0009637, allocations: 56.39 kB / 0.558 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1148, allocations: 75.47 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.0206/0.1355, allocations: 31.45 MB / 0.6624 GB, free: 1.473 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.1502, allocations: 10.81 MB / 0.6729 GB, free: 6.633 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.1515, allocations: 35.69 kB / 0.673 GB, free: 6.598 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.1526, allocations: 294.2 kB / 0.6733 GB, free: 6.309 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.1555, allocations: 1.06 MB / 0.6743 GB, free: 5.246 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.1578, allocations: 0.879 MB / 0.6752 GB, free: 4.375 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003564/0.1613, allocations: 3.316 MB / 0.6784 GB, free: 1.051 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.1628, allocations: 0.8305 MB / 0.6792 GB, free: 216 kB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.1648, allocations: 1.098 MB / 0.6803 GB, free: 15.11 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.1666, allocations: 1.024 MB / 0.6813 GB, free: 14.08 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.1668, allocations: 48 kB / 0.6813 GB, free: 14.04 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.1684, allocations: 0.8967 MB / 0.6822 GB, free: 13.14 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.1686, allocations: 223.1 kB / 0.6824 GB, free: 12.92 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005345/0.1692, allocations: 0.5014 MB / 0.6829 GB, free: 12.41 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.171, allocations: 1.577 MB / 0.6844 GB, free: 10.83 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1711, allocations: 4 kB / 0.6844 GB, free: 10.83 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1711, allocations: 0 / 0.6844 GB, free: 10.83 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.1711, allocations: 4 kB / 0.6844 GB, free: 10.82 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002125/0.1732, allocations: 1.363 MB / 0.6858 GB, free: 9.406 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1733, allocations: 15.97 kB / 0.6858 GB, free: 9.391 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000972/0.1743, allocations: 187.7 kB / 0.686 GB, free: 9.207 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.1753, allocations: 0.6545 MB / 0.6866 GB, free: 8.508 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.1754, allocations: 53 kB / 0.6867 GB, free: 8.457 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.1755, allocations: 84 kB / 0.6867 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.1785, allocations: 0.8417 MB / 0.6876 GB, free: 7.504 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1785, allocations: 7.938 kB / 0.6876 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.1786, allocations: 23.94 kB / 0.6876 GB, free: 7.473 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.1786, allocations: 19.98 kB / 0.6876 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.1814, allocations: 0.6946 MB / 0.6883 GB, free: 6.758 MB / 474.7 MB 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.003725/0.1852, allocations: 2.526 MB / 0.6908 GB, free: 4.094 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.1877, allocations: 0.5173 MB / 0.6913 GB, free: 3.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.188, allocations: 132.8 kB / 0.6914 GB, free: 3.438 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003936/0.1884, allocations: 433.5 kB / 0.6918 GB, free: 2.922 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1885, allocations: 38.5 kB / 0.6918 GB, free: 2.875 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.1885, allocations: 4 kB / 0.6918 GB, free: 2.871 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.005184/0.1937, allocations: 0.9959 MB / 0.6928 GB, free: 1.867 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.1937, allocations: 59.41 kB / 0.6929 GB, free: 1.797 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008091/0.1945, allocations: 0.7551 MB / 0.6936 GB, free: 1.031 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.1947, allocations: 41.7 kB / 0.6936 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.195, allocations: 436.2 kB / 0.6941 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/0.1951, allocations: 82.75 kB / 0.6941 GB, free: 480 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.1954, allocations: 194.7 kB / 0.6943 GB, free: 280 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1955, allocations: 333.9 kB / 0.6946 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007247/0.1963, allocations: 256.1 kB / 0.6949 GB, free: 15.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.1976, allocations: 0.8726 MB / 0.6957 GB, free: 14.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.1991, allocations: 0.5388 MB / 0.6963 GB, free: 14.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1991, allocations: 0 / 0.6963 GB, free: 14.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00188/0.201, allocations: 0.7408 MB / 0.697 GB, free: 13.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.201, allocations: 4.25 kB / 0.697 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.201, allocations: 11.94 kB / 0.697 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.201, allocations: 4 kB / 0.697 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003545/0.2046, allocations: 455.3 kB / 0.6974 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009169/0.2138, allocations: 5.978 MB / 0.7033 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/0.2172, allocations: 0.7138 MB / 0.704 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.2173, allocations: 27.97 kB / 0.704 GB, free: 5.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000901/0.2182, allocations: 373.1 kB / 0.7044 GB, free: 5.223 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001147/0.2194, allocations: 0.8443 MB / 0.7052 GB, free: 4.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00116/0.2205, allocations: 0.4961 MB / 0.7057 GB, free: 3.625 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.2206, allocations: 7.922 kB / 0.7057 GB, free: 3.617 MB / 490.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001698/0.2223, allocations: 0.6679 MB / 0.7063 GB, free: 2.941 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2223, allocations: 8 kB / 0.7063 GB, free: 2.934 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2223, allocations: 4 kB / 0.7063 GB, free: 2.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/0.2223, allocations: 4 kB / 0.7063 GB, free: 2.926 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/0.2231, allocations: 168 kB / 0.7065 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.2232, allocations: 11.98 kB / 0.7065 GB, free: 2.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004057/0.2272, allocations: 0.9369 MB / 0.7074 GB, free: 1.812 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/0.2273, allocations: 27.92 kB / 0.7075 GB, free: 1.785 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002724/0.2276, allocations: 216.7 kB / 0.7077 GB, free: 1.566 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.2278, allocations: 78.97 kB / 0.7077 GB, free: 1.488 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.2295, allocations: 0.5903 MB / 0.7083 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.2296, allocations: 4 kB / 0.7083 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.2296, allocations: 0 / 0.7083 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.2296, allocations: 7.922 kB / 0.7083 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.2324, allocations: 1.271 MB / 0.7096 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2324, allocations: 0 / 0.7096 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003423/0.2359, allocations: 451.4 kB / 0.71 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2359, allocations: 4 kB / 0.71 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.2359, allocations: 15.92 kB / 0.71 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008142/0.2441, allocations: 5.859 MB / 0.7157 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2441, allocations: 0 / 0.7157 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.2469, allocations: 1.593 MB / 0.7173 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.2472, allocations: 192 kB / 0.7175 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.2473, allocations: 7.984 kB / 0.7175 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008632/0.2481, allocations: 99.8 kB / 0.7176 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2483, allocations: 23.95 kB / 0.7176 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.2483, allocations: 15.98 kB / 0.7176 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005612/0.2489, allocations: 0.5068 MB / 0.7181 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2489, allocations: 0 / 0.7181 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001504/0.2504, allocations: 483.3 kB / 0.7186 GB, free: 5.723 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (29): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005408/0.2509, allocations: 284.5 kB / 0.7188 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005494/0.2564, allocations: 1.186 MB / 0.72 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2565, allocations: 0 / 0.72 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00381/0.2603, allocations: 0.6094 MB / 0.7206 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.2626, allocations: 410.8 kB / 0.721 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.2655, allocations: 1.8 MB / 0.7228 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.266, allocations: 0.9662 MB / 0.7237 GB, free: 432 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000985/0.267, allocations: 178 kB / 0.7239 GB, free: 252 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.2673, allocations: 75.39 kB / 0.7239 GB, free: 176 kB / 0.4948 GB Notification: Performance of SimCode: time 8.41e-07/0.2673, allocations: 0 / 0.7239 GB, free: 176 kB / 0.4948 GB Notification: Performance of Templates: time 0.2458/0.513, allocations: 21.92 MB / 0.7453 GB, free: 100.2 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)