Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.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: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002134, allocations: 290.7 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8975/0.8975, allocations: 169.2 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 93.5 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1409, allocations: 86.99 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002451/0.1433, allocations: 1.614 MB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005412/0.1439, allocations: 329.5 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.1439, allocations: 0 / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.144, allocations: 12.36 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.1441, allocations: 16.45 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1443, allocations: 81.31 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.1444, allocations: 103.6 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1446, allocations: 47.34 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.603e-05/0.1446, allocations: 43.86 kB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.1447, allocations: 43.77 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1447, allocations: 11.98 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.299e-05/0.1448, allocations: 36.66 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.1449, allocations: 12 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.1449, allocations: 48.55 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.1451, allocations: 115.7 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1451, allocations: 0 / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1451, allocations: 0.8438 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1451, allocations: 0 / 0.6827 GB, free: 14.07 MB / 494.1 MB 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.0004937/0.1456, allocations: 404.3 kB / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1456, allocations: 12.03 kB / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.1457, allocations: 42.73 kB / 0.6832 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.147, allocations: 160.6 kB / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.995e-05/0.1471, allocations: 176.2 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1471, allocations: 4.375 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.1471, allocations: 16.36 kB / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/0.1477, allocations: 170 kB / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1477, allocations: 3.938 kB / 0.6837 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1478, allocations: 4 kB / 0.6837 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1478, allocations: 0 / 0.6837 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000876/0.1486, allocations: 183.8 kB / 0.6838 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.1497, allocations: 484.1 kB / 0.6843 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.1507, allocations: 186.4 kB / 0.6845 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.1511, allocations: 64.84 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1511, allocations: 0 / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.1511, allocations: 34.56 kB / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1511, allocations: 7.875 kB / 0.6846 GB, free: 11.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0011/0.1523, allocations: 233.3 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.1523, allocations: 51.41 kB / 0.6849 GB, free: 11.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.1525, allocations: 199.2 kB / 0.6851 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1525, allocations: 29.7 kB / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.1526, allocations: 103.9 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.1526, allocations: 11.84 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.1527, allocations: 29.69 kB / 0.6852 GB, free: 11.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.1528, allocations: 322.8 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.1532, allocations: 80.78 kB / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.1537, allocations: 106.5 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.1544, allocations: 158.4 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1544, allocations: 0 / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000927/0.1553, allocations: 213.3 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1554, allocations: 9.562 kB / 0.6861 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1554, allocations: 8 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1554, allocations: 0 / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.1557, allocations: 43.94 kB / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1557, allocations: 7.938 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.1561, allocations: 43.86 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1561, allocations: 11.98 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002014/0.1563, allocations: 116.1 kB / 0.6863 GB, free: 10.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001778/0.1565, allocations: 81.97 kB / 0.6864 GB, free: 10.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002461/0.1568, allocations: 97.91 kB / 0.6865 GB, free: 9.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.1568, allocations: 4 kB / 0.6865 GB, free: 9.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004086/0.1572, allocations: 141.5 kB / 0.6866 GB, free: 9.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.1572, allocations: 12.03 kB / 0.6866 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.1572, allocations: 0 / 0.6866 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-06/0.1572, allocations: 7.938 kB / 0.6866 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.1574, allocations: 23.97 kB / 0.6866 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.1574, allocations: 0 / 0.6866 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.1576, allocations: 19.97 kB / 0.6867 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1576, allocations: 12 kB / 0.6867 GB, free: 9.727 MB / 494.1 MB 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 (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 7.806e-05/0.1577, allocations: 184.9 kB / 0.6868 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1577, allocations: 11.81 kB / 0.6869 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.1578, allocations: 20.17 kB / 0.6869 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1578, allocations: 4.125 kB / 0.6869 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1578, allocations: 0 / 0.6869 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1578, allocations: 3.984 kB / 0.6869 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.158, allocations: 205.6 kB / 0.6871 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.158, allocations: 3.984 kB / 0.6871 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.1582, allocations: 31.95 kB / 0.6871 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1582, allocations: 3.938 kB / 0.6871 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1583, allocations: 3.938 kB / 0.6871 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1583, allocations: 4 kB / 0.6871 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1583, allocations: 0 / 0.6871 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.159, allocations: 259.2 kB / 0.6874 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.1591, allocations: 96.98 kB / 0.6875 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.1591, allocations: 3.938 kB / 0.6875 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.1594, allocations: 27.97 kB / 0.6875 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.1595, allocations: 7.984 kB / 0.6875 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1595, allocations: 4 kB / 0.6875 GB, free: 8.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.1596, allocations: 139.2 kB / 0.6876 GB, free: 8.633 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1597, allocations: 4 kB / 0.6876 GB, free: 8.629 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.16, allocations: 36 kB / 0.6877 GB, free: 8.594 MB / 494.1 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 (3): * Single equations (assignments): 3 * 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.000992/0.161, allocations: 0.7864 MB / 0.6885 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.162, allocations: 211.8 kB / 0.6887 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.162, allocations: 0 / 0.6887 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.1624, allocations: 76.22 kB / 0.6887 GB, free: 7.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.1627, allocations: 4 kB / 0.6887 GB, free: 7.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.1664, allocations: 1.931 MB / 0.6906 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.1666, allocations: 0.6963 MB / 0.6913 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.1668, allocations: 24 kB / 0.6913 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/0.1669, allocations: 35.39 kB / 0.6914 GB, free: 4.699 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1669, allocations: 0 / 0.6914 GB, free: 4.699 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.221/2.387, allocations: 2.977 MB / 0.6943 GB, free: 1.852 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/14.56, allocations: 9.156 kB / 0.6943 GB, free: 1.848 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)