Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.612/1.612, allocations: 287.4 MB / 302.5 MB, free: 8.367 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.0009508/0.000951, allocations: 182.3 kB / 371.1 MB, free: 10.86 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.616/1.616, allocations: 205.4 MB / 0.6298 GB, free: 10.61 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.0007694/0.0007694, allocations: 92.52 kB / 0.7431 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 11.12 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.175, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.009732/0.1848, allocations: 14.36 MB / 0.9928 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007034/0.1919, allocations: 6.697 MB / 0.9993 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/0.1923, allocations: 19.81 kB / 0.9993 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006331/0.1929, allocations: 202.9 kB / 0.9995 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009028/0.1939, allocations: 494.4 kB / 1 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1951, allocations: 0.5919 MB / 1.001 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009496/0.1961, allocations: 1.134 MB / 1.002 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.1964, allocations: 279.9 kB / 1.002 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004428/0.1969, allocations: 354.4 kB / 1.002 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.1972, allocations: 298.7 kB / 1.003 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.1973, allocations: 20 kB / 1.003 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007033/0.198, allocations: 0.5224 MB / 1.003 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.1981, allocations: 87.59 kB / 1.003 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.1982, allocations: 105.5 kB / 1.003 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.1986, allocations: 0.5144 MB / 1.004 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1986, allocations: 0 / 1.004 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1986, allocations: 0 / 1.004 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.1987, allocations: 0 / 1.004 GB, free: 2.422 MB / 0.6198 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.0008935/0.1996, allocations: 0.7436 MB / 1.005 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1996, allocations: 16.02 kB / 1.005 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.1997, allocations: 50.73 kB / 1.005 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.1997, allocations: 56.28 kB / 1.005 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.2002, allocations: 408.8 kB / 1.005 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2002, allocations: 20.44 kB / 1.005 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.2003, allocations: 32 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.2006, allocations: 215.2 kB / 1.005 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2006, allocations: 0 / 1.005 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.2007, allocations: 12 kB / 1.005 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2007, allocations: 7.984 kB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.201, allocations: 173.6 kB / 1.005 GB, free: 0.6055 MB / 0.6198 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.001368/0.2024, allocations: 0.9496 MB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.2026, allocations: 134.5 kB / 1.007 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.2028, allocations: 84.8 kB / 1.007 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.2031, allocations: 336.4 kB / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.2031, allocations: 30.56 kB / 1.007 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.2031, allocations: 0 / 1.007 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0006102/0.2037, allocations: 257 kB / 1.007 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2038, allocations: 51.41 kB / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.2043, allocations: 462 kB / 1.008 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.2043, allocations: 33.7 kB / 1.008 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.2045, allocations: 240.4 kB / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.2045, allocations: 51.36 kB / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.2046, allocations: 4 kB / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2047, allocations: 354.7 kB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.2049, allocations: 71.81 kB / 1.008 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.2052, allocations: 159.5 kB / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.2055, allocations: 168.8 kB / 1.009 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2056, allocations: 0 / 1.009 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004797/0.206, allocations: 257 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.2061, allocations: 110.7 kB / 1.009 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2061, allocations: 0 / 1.009 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2061, allocations: 3.938 kB / 1.009 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.2064, allocations: 51.91 kB / 1.009 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2064, allocations: 0 / 1.009 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.2067, allocations: 51.72 kB / 1.009 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.2067, allocations: 15.98 kB / 1.009 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.2067, allocations: 6.188 kB / 1.009 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003919/0.2071, allocations: 183.8 kB / 1.009 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/0.2071, allocations: 0 / 1.009 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-06/0.2072, allocations: 4 kB / 1.009 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.2074, allocations: 47.91 kB / 1.009 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2074, allocations: 4 kB / 1.009 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.2077, allocations: 47.66 kB / 1.009 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.2077, allocations: 11.98 kB / 1.009 GB, free: 12.21 MB / 0.6355 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.0001959/0.2079, allocations: 238.4 kB / 1.01 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.208, allocations: 39.53 kB / 1.01 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005406/0.2085, allocations: 265.1 kB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2085, allocations: 192 / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2085, allocations: 0 / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2085, allocations: 3.984 kB / 1.01 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.2097, allocations: 0.7228 MB / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2097, allocations: 4 kB / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.2099, allocations: 36.05 kB / 1.011 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2099, allocations: 4 kB / 1.011 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.21, allocations: 11.92 kB / 1.011 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.21, allocations: 4 kB / 1.011 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.21, allocations: 0 / 1.011 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.2107, allocations: 344 kB / 1.011 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.2109, allocations: 144.4 kB / 1.011 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/0.211, allocations: 11.94 kB / 1.011 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.2114, allocations: 23.97 kB / 1.011 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.2115, allocations: 16.08 kB / 1.011 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.2115, allocations: 7.938 kB / 1.011 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005289/0.212, allocations: 326.9 kB / 1.012 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.1e-07/0.212, allocations: 0 / 1.012 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001012/0.2131, allocations: 203.7 kB / 1.012 GB, free: 9.707 MB / 0.6355 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.002396/0.2155, allocations: 1.251 MB / 1.013 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009337/0.2164, allocations: 283.7 kB / 1.013 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2164, allocations: 0 / 1.013 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.2167, allocations: 91.89 kB / 1.013 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.2187, allocations: 211.7 kB / 1.014 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.224, allocations: 2.243 MB / 1.016 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.2246, allocations: 0.8347 MB / 1.017 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005349/0.2251, allocations: 91.39 kB / 1.017 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.2254, allocations: 143.4 kB / 1.017 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.2254, allocations: 0 / 1.017 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.2647, allocations: 12.32 MB / 1.029 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002983/0.265, allocations: 242.6 kB / 1.029 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.484, allocations: 4 kB / 1.029 GB, free: 8.273 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)