Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.573/1.573, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009518/0.0009518, allocations: 176.8 kB / 325.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007428/0.0007428, allocations: 107.2 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003087, allocations: 12.22 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1755, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00206/0.1776, allocations: 1.356 MB / 0.8975 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007532/0.1784, allocations: 316.8 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.1785, allocations: 0 / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.069e-05/0.1785, allocations: 3.984 kB / 0.8978 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.359e-05/0.1786, allocations: 15.86 kB / 0.8978 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1789, allocations: 59.88 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.77e-05/0.179, allocations: 103.5 kB / 0.898 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1791, allocations: 31.97 kB / 0.898 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.784e-05/0.1792, allocations: 31.86 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.236e-05/0.1793, allocations: 31.86 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1793, allocations: 4 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.082e-05/0.1794, allocations: 27.91 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.1794, allocations: 19.91 kB / 0.8981 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.1795, allocations: 39.75 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.1796, allocations: 83.72 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1796, allocations: 0 / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1796, allocations: 0 / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1797, allocations: 0 / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004678/0.1801, allocations: 391.2 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.1802, allocations: 12.03 kB / 0.8986 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.1802, allocations: 42.73 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009223/0.1812, allocations: 140.7 kB / 0.8988 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.37e-05/0.1813, allocations: 182.7 kB / 0.899 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1813, allocations: 4.375 kB / 0.899 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.1813, allocations: 8.375 kB / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.1818, allocations: 158.1 kB / 0.8992 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1818, allocations: 3.938 kB / 0.8992 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1818, allocations: 8 kB / 0.8992 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1818, allocations: 8 kB / 0.8992 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006952/0.1825, allocations: 179.7 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/0.1833, allocations: 444.4 kB / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/0.184, allocations: 162.4 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.1843, allocations: 84.91 kB / 0.9 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1843, allocations: 4 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.132e-05/0.1843, allocations: 30.56 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.1844, allocations: 0 / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.001065/0.1854, allocations: 281.4 kB / 0.9003 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1855, allocations: 59.34 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1856, allocations: 158.2 kB / 0.9005 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1856, allocations: 25.7 kB / 0.9005 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.1856, allocations: 104 kB / 0.9006 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.1857, allocations: 15.75 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.1857, allocations: 13.72 kB / 0.9007 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.1857, allocations: 322.8 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.1861, allocations: 79.92 kB / 0.9011 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.1864, allocations: 79.92 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006185/0.1871, allocations: 152.7 kB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1871, allocations: 8 kB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006926/0.1878, allocations: 213.4 kB / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.1878, allocations: 96.94 kB / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1878, allocations: 0 / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1878, allocations: 0 / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.1881, allocations: 51.94 kB / 0.9016 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1881, allocations: 8.109 kB / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.1883, allocations: 35.81 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1883, allocations: 3.984 kB / 0.9017 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.221e-06/0.1883, allocations: 8 kB / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001803/0.1885, allocations: 71.94 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.1885, allocations: 0 / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-06/0.1886, allocations: 0 / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.1886, allocations: 27.92 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-06/0.1886, allocations: 0 / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.1887, allocations: 19.92 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-06/0.1887, allocations: 0 / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.1888, allocations: 189.1 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.1888, allocations: 11.81 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.055e-05/0.1889, allocations: 20.3 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1889, allocations: 0 / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1889, allocations: 3.938 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1889, allocations: 0 / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008978/0.1898, allocations: 492.1 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1898, allocations: 3.984 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.19, allocations: 40.02 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.19, allocations: 8.188 kB / 0.9025 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1901, allocations: 4 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1901, allocations: 11.92 kB / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1901, allocations: 4 kB / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.1908, allocations: 305 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.1909, allocations: 104.9 kB / 0.9029 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1909, allocations: 0 / 0.9029 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.1911, allocations: 27.97 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/0.1912, allocations: 8 kB / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1912, allocations: 7.984 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.1913, allocations: 118.5 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1913, allocations: 3.938 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002763/0.1915, allocations: 32 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008417/0.1924, allocations: 0.8388 MB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007652/0.1932, allocations: 219.7 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1932, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.1935, allocations: 87.98 kB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.1938, allocations: 12 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.197, allocations: 1.968 MB / 0.9062 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.1971, allocations: 0.6965 MB / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.118e-05/0.1972, allocations: 16 kB / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.1973, allocations: 35.39 kB / 0.9069 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.1973, allocations: 0 / 0.9069 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2332/0.4305, allocations: 2.418 MB / 0.9093 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/0.4307, allocations: 221.6 kB / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.633, allocations: 0 / 0.9095 GB, free: 54.04 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)