Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.723/1.723, allocations: 287.4 MB / 302.6 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 186.6 kB / 371.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007292/0.0007292, allocations: 88.86 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 12.5 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01284/0.2005, allocations: 17.99 MB / 0.9963 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009138/0.2097, allocations: 7.726 MB / 1.004 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009681/0.2107, allocations: 23.75 kB / 1.004 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006415/0.2114, allocations: 194.7 kB / 1.004 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.2131, allocations: 0.6032 MB / 1.005 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.2154, allocations: 0.7411 MB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002035/0.2174, allocations: 1.697 MB / 1.007 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007713/0.2182, allocations: 428.7 kB / 1.007 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.2195, allocations: 0.5213 MB / 1.008 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007552/0.2202, allocations: 0.4979 MB / 1.008 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.2203, allocations: 28 kB / 1.008 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.2219, allocations: 0.5964 MB / 1.009 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.222, allocations: 127.4 kB / 1.009 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.2223, allocations: 145.3 kB / 1.009 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.2236, allocations: 0.7482 MB / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2237, allocations: 0 / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.306e-06/0.2237, allocations: 0 / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.2237, allocations: 0 / 1.01 GB, free: 11.96 MB / 0.6355 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.002123/0.2258, allocations: 0.9813 MB / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.2259, allocations: 8.031 kB / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.226, allocations: 86.7 kB / 1.011 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.2262, allocations: 80 kB / 1.011 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/0.2269, allocations: 0.4987 MB / 1.012 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.2269, allocations: 41 kB / 1.012 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.227, allocations: 48 kB / 1.012 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.2281, allocations: 0.6372 MB / 1.012 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2281, allocations: 3.938 kB / 1.012 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.2282, allocations: 24 kB / 1.012 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.2282, allocations: 12 kB / 1.012 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2293, allocations: 0.5112 MB / 1.013 GB, free: 8.871 MB / 0.6355 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.003313/0.2326, allocations: 3.197 MB / 1.016 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.2333, allocations: 354.6 kB / 1.016 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.2338, allocations: 241.4 kB / 1.017 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/0.2342, allocations: 348.4 kB / 1.017 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2342, allocations: 42.55 kB / 1.017 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 3.116e-06/0.2342, allocations: 0 / 1.017 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.002169/0.2364, allocations: 0.8649 MB / 1.018 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.2365, allocations: 59.41 kB / 1.018 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006244/0.2371, allocations: 0.5782 MB / 1.018 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.2372, allocations: 37.7 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.2374, allocations: 328.4 kB / 1.019 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.936e-05/0.2375, allocations: 134.1 kB / 1.019 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.2375, allocations: 8 kB / 1.019 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2377, allocations: 374.7 kB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.2382, allocations: 221.2 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.2388, allocations: 382 kB / 1.02 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.2399, allocations: 0.5744 MB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2399, allocations: 4 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001406/0.2413, allocations: 0.7266 MB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.2414, allocations: 225.7 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2414, allocations: 4 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.2421, allocations: 152.8 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/0.2428, allocations: 155.8 kB / 1.022 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006124/0.2434, allocations: 0.6303 MB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/0.244, allocations: 103.4 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.2441, allocations: 31.98 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.2441, allocations: 4 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/0.2453, allocations: 0.6156 MB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2454, allocations: 12.02 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.2454, allocations: 11.94 kB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.246, allocations: 159.8 kB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.246, allocations: 11.94 kB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.2465, allocations: 99.41 kB / 1.023 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.2466, allocations: 31.98 kB / 1.023 GB, free: 13.64 MB / 0.6511 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000297/0.2469, allocations: 270.4 kB / 1.024 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.371e-05/0.247, allocations: 63.16 kB / 1.024 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.2485, allocations: 0.6658 MB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.2485, allocations: 8 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.2485, allocations: 3.938 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.2486, allocations: 3.984 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.251, allocations: 1.412 MB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.251, allocations: 0 / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.2514, allocations: 87.88 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.2518, allocations: 136.9 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.2519, allocations: 11.98 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006023/0.2525, allocations: 0.6382 MB / 1.026 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2525, allocations: 0 / 1.026 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.2538, allocations: 0.7204 MB / 1.027 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.254, allocations: 204 kB / 1.027 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.609e-05/0.2541, allocations: 8 kB / 1.027 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.2546, allocations: 55.86 kB / 1.027 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.2547, allocations: 35.95 kB / 1.027 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.2547, allocations: 19.98 kB / 1.028 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004278/0.2552, allocations: 391.1 kB / 1.028 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2552, allocations: 0 / 1.028 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001032/0.2562, allocations: 379.4 kB / 1.028 GB, free: 8.398 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002115/0.2584, allocations: 1.465 MB / 1.03 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.2604, allocations: 0.926 MB / 1.031 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2604, allocations: 0 / 1.031 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006783/0.2611, allocations: 295.9 kB / 1.031 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.2628, allocations: 259.8 kB / 1.031 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.2687, allocations: 3.769 MB / 1.035 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.2692, allocations: 0.9155 MB / 1.036 GB, free: 0.5977 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006629/0.2699, allocations: 152.4 kB / 1.036 GB, free: 464 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.2702, allocations: 243.3 kB / 1.036 GB, free: 220 kB / 0.6511 GB Notification: Performance of SimCode: time 6.31e-07/0.2702, allocations: 0 / 1.036 GB, free: 220 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.3043, allocations: 17.8 MB / 1.053 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.3046, allocations: 277.6 kB / 1.054 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/2.813, allocations: 0 / 1.054 GB, free: 14.4 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)