Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.694/0.694, allocations: 128.7 MB / 144.5 MB, free: 1.371 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.001201/0.001201, allocations: 186 kB / 174.2 MB, free: 5.93 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.474/1.474, allocations: 205 MB / 408.9 MB, free: 9.738 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.000936/0.000936, allocations: 106.3 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001094, allocations: 58.56 kB / 0.558 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1227, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01699/0.1397, allocations: 24.6 MB / 0.6557 GB, free: 8.359 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009499/0.1493, allocations: 8.472 MB / 0.664 GB, free: 15.87 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.1508, allocations: 23.81 kB / 0.664 GB, free: 15.85 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.1517, allocations: 214.7 kB / 0.6642 GB, free: 15.64 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.1536, allocations: 0.6982 MB / 0.6649 GB, free: 14.94 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.1554, allocations: 0.7376 MB / 0.6656 GB, free: 14.2 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002001/0.1574, allocations: 2.006 MB / 0.6676 GB, free: 12.19 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005766/0.158, allocations: 445.2 kB / 0.668 GB, free: 11.73 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008431/0.1589, allocations: 0.5757 MB / 0.6685 GB, free: 11.16 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.1595, allocations: 0.5212 MB / 0.6691 GB, free: 10.63 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.1596, allocations: 32 kB / 0.6691 GB, free: 10.6 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1608, allocations: 0.6549 MB / 0.6697 GB, free: 9.945 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1609, allocations: 135.4 kB / 0.6699 GB, free: 9.812 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.1613, allocations: 350.1 kB / 0.6702 GB, free: 9.469 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.1625, allocations: 1.063 MB / 0.6712 GB, free: 8.402 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1625, allocations: 0 / 0.6712 GB, free: 8.402 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1625, allocations: 0 / 0.6712 GB, free: 8.402 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1626, allocations: 0 / 0.6712 GB, free: 8.402 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001799/0.1644, allocations: 1.071 MB / 0.6723 GB, free: 7.281 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1644, allocations: 8.031 kB / 0.6723 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.1663, allocations: 275.7 kB / 0.6725 GB, free: 7.004 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.1671, allocations: 0.5027 MB / 0.673 GB, free: 6.461 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.1671, allocations: 37 kB / 0.6731 GB, free: 6.426 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.1672, allocations: 48 kB / 0.6731 GB, free: 6.379 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004855/0.1721, allocations: 1.121 MB / 0.6742 GB, free: 5.191 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.1721, allocations: 7.922 kB / 0.6742 GB, free: 5.184 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/0.1722, allocations: 24 kB / 0.6742 GB, free: 5.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.1722, allocations: 12 kB / 0.6743 GB, free: 5.148 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004805/0.177, allocations: 1.022 MB / 0.6752 GB, free: 4.125 MB / 458.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.004002/0.181, allocations: 3.258 MB / 0.6784 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/0.1852, allocations: 0.8077 MB / 0.6792 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/0.1858, allocations: 256.6 kB / 0.6795 GB, free: 15.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003722/0.1862, allocations: 344.4 kB / 0.6798 GB, free: 15.19 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1863, allocations: 46.59 kB / 0.6798 GB, free: 15.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 1.914e-06/0.1863, allocations: 0 / 0.6798 GB, free: 15.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.01011/0.1964, allocations: 1.841 MB / 0.6816 GB, free: 13.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1964, allocations: 55.41 kB / 0.6817 GB, free: 13.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/0.197, allocations: 0.5704 MB / 0.6822 GB, free: 12.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.1971, allocations: 33.7 kB / 0.6823 GB, free: 12.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.1973, allocations: 335.5 kB / 0.6826 GB, free: 12.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1974, allocations: 126.3 kB / 0.6827 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.1977, allocations: 134.2 kB / 0.6828 GB, free: 11.99 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1978, allocations: 382.6 kB / 0.6832 GB, free: 11.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.199, allocations: 395.2 kB / 0.6836 GB, free: 11.21 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.2003, allocations: 0.5311 MB / 0.6841 GB, free: 10.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.2027, allocations: 0.8605 MB / 0.6849 GB, free: 9.699 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2027, allocations: 7.938 kB / 0.685 GB, free: 9.691 MB / 474.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002978/0.2057, allocations: 1.077 MB / 0.686 GB, free: 8.602 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2058, allocations: 11.98 kB / 0.686 GB, free: 8.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2058, allocations: 4 kB / 0.686 GB, free: 8.586 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007349/0.2065, allocations: 213.2 kB / 0.6862 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.2076, allocations: 215.6 kB / 0.6864 GB, free: 8.164 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009927/0.2087, allocations: 0.7085 MB / 0.6871 GB, free: 7.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.2099, allocations: 167.2 kB / 0.6873 GB, free: 7.266 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.477e-05/0.21, allocations: 39.97 kB / 0.6873 GB, free: 7.227 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001329/0.2113, allocations: 0.5089 MB / 0.6878 GB, free: 6.715 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001258/0.2126, allocations: 0.526 MB / 0.6883 GB, free: 6.129 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002327/0.2149, allocations: 0.8683 MB / 0.6892 GB, free: 5.199 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.265e-06/0.215, allocations: 0 / 0.6892 GB, free: 5.199 MB / 474.7 MB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.002701/0.2177, allocations: 1.007 MB / 0.6902 GB, free: 4.184 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2177, allocations: 8.094 kB / 0.6902 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2177, allocations: 11.92 kB / 0.6902 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.2177, allocations: 8 kB / 0.6902 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.2191, allocations: 231.7 kB / 0.6904 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2191, allocations: 15.92 kB / 0.6904 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.2203, allocations: 163.3 kB / 0.6906 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/0.2203, allocations: 35.97 kB / 0.6906 GB, free: 3.719 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.2206, allocations: 216 kB / 0.6908 GB, free: 3.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.2207, allocations: 63.25 kB / 0.6909 GB, free: 3.438 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/0.2237, allocations: 0.9731 MB / 0.6918 GB, free: 2.457 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.2237, allocations: 11.94 kB / 0.6918 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2237, allocations: 0 / 0.6918 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2237, allocations: 0 / 0.6918 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006221/0.23, allocations: 2.03 MB / 0.6938 GB, free: 368 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.23, allocations: 0 / 0.6938 GB, free: 368 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009026/0.2309, allocations: 151.8 kB / 0.694 GB, free: 216 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005926/0.2315, allocations: 196.7 kB / 0.6942 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-05/0.2316, allocations: 23.97 kB / 0.6942 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.2336, allocations: 0.7942 MB / 0.695 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2336, allocations: 0 / 0.695 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005998/0.2396, allocations: 2.305 MB / 0.6972 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.2399, allocations: 212 kB / 0.6974 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.24, allocations: 4 kB / 0.6974 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.2412, allocations: 127.8 kB / 0.6975 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.2413, allocations: 27.89 kB / 0.6976 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.2413, allocations: 23.97 kB / 0.6976 GB, free: 12.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004096/0.2417, allocations: 395 kB / 0.698 GB, free: 12.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2418, allocations: 0 / 0.698 GB, free: 12.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001181/0.2429, allocations: 371.5 kB / 0.6983 GB, free: 11.65 MB / 490.7 MB 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004678/0.2434, allocations: 248.2 kB / 0.6986 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.2474, allocations: 1.373 MB / 0.6999 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2475, allocations: 4 kB / 0.6999 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.2498, allocations: 0.5035 MB / 0.7004 GB, free: 9.527 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.2513, allocations: 270.5 kB / 0.7006 GB, free: 9.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.254, allocations: 1.67 MB / 0.7023 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.2544, allocations: 0.9074 MB / 0.7032 GB, free: 6.621 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000789/0.2552, allocations: 160.7 kB / 0.7033 GB, free: 6.465 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.2555, allocations: 71.38 kB / 0.7034 GB, free: 6.398 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2555, allocations: 0 / 0.7034 GB, free: 6.398 MB / 490.7 MB Notification: Performance of Templates: time 0.02274/0.2782, allocations: 15.83 MB / 0.7188 GB, free: 6.715 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)