Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008434/0.0008437, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005354/0.005354, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 269.8 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9291/0.9291, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004477, allocations: 16.56 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1495, allocations: 88.54 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01808/0.1676, allocations: 18.75 MB / 0.7034 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007077/0.1747, allocations: 5.123 MB / 0.7084 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006255/0.1753, allocations: 19.81 kB / 0.7085 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006457/0.176, allocations: 210.7 kB / 0.7087 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.1778, allocations: 0.7074 MB / 0.7094 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.1796, allocations: 0.7952 MB / 0.7101 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002079/0.1817, allocations: 1.935 MB / 0.712 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005848/0.1823, allocations: 441 kB / 0.7124 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009206/0.1832, allocations: 0.5639 MB / 0.713 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006522/0.1839, allocations: 0.5133 MB / 0.7135 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.423e-05/0.184, allocations: 28 kB / 0.7135 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.1851, allocations: 0.6588 MB / 0.7142 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1853, allocations: 139.3 kB / 0.7143 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.1856, allocations: 367.7 kB / 0.7146 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.1868, allocations: 1.047 MB / 0.7157 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1868, allocations: 0 / 0.7157 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1868, allocations: 0 / 0.7157 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.1868, allocations: 0 / 0.7157 GB, free: 15.68 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001727/0.1885, allocations: 0.9851 MB / 0.7166 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1886, allocations: 12.03 kB / 0.7166 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.1887, allocations: 80 kB / 0.7167 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006811/0.1894, allocations: 0.507 MB / 0.7172 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.1894, allocations: 37 kB / 0.7172 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.1895, allocations: 48 kB / 0.7173 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.1906, allocations: 0.6372 MB / 0.7179 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1906, allocations: 0 / 0.7179 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.1907, allocations: 24 kB / 0.7179 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1907, allocations: 12 kB / 0.718 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1918, allocations: 0.519 MB / 0.7185 GB, free: 12.68 MB / 0.5137 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.00371/0.1955, allocations: 3.208 MB / 0.7216 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/0.1962, allocations: 363.5 kB / 0.7219 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.1967, allocations: 244.3 kB / 0.7222 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.1971, allocations: 348.4 kB / 0.7225 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1971, allocations: 38.56 kB / 0.7225 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 1.793e-06/0.1971, allocations: 0 / 0.7225 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.002203/0.1993, allocations: 0.8734 MB / 0.7234 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1994, allocations: 55.41 kB / 0.7234 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.2, allocations: 0.5938 MB / 0.724 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.2001, allocations: 37.7 kB / 0.7241 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.2003, allocations: 328.4 kB / 0.7244 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.534e-05/0.2004, allocations: 130.2 kB / 0.7245 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/0.2005, allocations: 57.69 kB / 0.7246 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2006, allocations: 374.8 kB / 0.7249 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.2011, allocations: 229.2 kB / 0.7251 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.2018, allocations: 376 kB / 0.7255 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.2029, allocations: 0.6055 MB / 0.7261 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2029, allocations: 0 / 0.7261 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001439/0.2043, allocations: 0.7535 MB / 0.7268 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.2045, allocations: 227.6 kB / 0.727 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2045, allocations: 4 kB / 0.727 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/0.2051, allocations: 156.7 kB / 0.7272 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.2057, allocations: 147.8 kB / 0.7273 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005427/0.2062, allocations: 0.6226 MB / 0.7279 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.2068, allocations: 99.3 kB / 0.728 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.2069, allocations: 35.98 kB / 0.7281 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.2069, allocations: 4 kB / 0.7281 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001242/0.2082, allocations: 0.6267 MB / 0.7287 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2082, allocations: 7.938 kB / 0.7287 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.2082, allocations: 8 kB / 0.7287 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.2088, allocations: 164.3 kB / 0.7289 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2088, allocations: 11.98 kB / 0.7289 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.2093, allocations: 91.48 kB / 0.729 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.2094, allocations: 31.98 kB / 0.729 GB, free: 1.312 MB / 0.5137 GB 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 (69): * Single equations (assignments): 68 * 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.0002724/0.2097, allocations: 274.1 kB / 0.7292 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-05/0.2098, allocations: 63.16 kB / 0.7293 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.2112, allocations: 0.6743 MB / 0.73 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.2112, allocations: 4 kB / 0.73 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2112, allocations: 0 / 0.73 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.2112, allocations: 3.984 kB / 0.73 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.2136, allocations: 1.406 MB / 0.7313 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2136, allocations: 0 / 0.7313 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.214, allocations: 91.98 kB / 0.7314 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003892/0.2144, allocations: 132.8 kB / 0.7316 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.2144, allocations: 8 kB / 0.7316 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005793/0.215, allocations: 0.6343 MB / 0.7322 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.215, allocations: 11.94 kB / 0.7322 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.2163, allocations: 0.7243 MB / 0.7329 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.2165, allocations: 212 kB / 0.7331 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.2166, allocations: 11.94 kB / 0.7331 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.217, allocations: 59.86 kB / 0.7332 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.2171, allocations: 27.95 kB / 0.7332 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.2172, allocations: 15.98 kB / 0.7332 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000435/0.2176, allocations: 403.1 kB / 0.7336 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2176, allocations: 4 kB / 0.7336 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009977/0.2186, allocations: 387.4 kB / 0.734 GB, free: 12.04 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005907/0.2192, allocations: 306.5 kB / 0.7343 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001903/0.2211, allocations: 0.9097 MB / 0.7352 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2211, allocations: 3.938 kB / 0.7352 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006951/0.2218, allocations: 296 kB / 0.7354 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.2234, allocations: 277 kB / 0.7357 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.2251, allocations: 1.343 MB / 0.737 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.2255, allocations: 0.908 MB / 0.7379 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005253/0.2261, allocations: 156.8 kB / 0.7381 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.2262, allocations: 59.42 kB / 0.7381 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.2262, allocations: 0 / 0.7381 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of Templates: time 0.01868/0.2449, allocations: 12.23 MB / 0.7501 GB, free: 11.7 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)