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.001479/0.001479, 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.002172/0.002171, allocations: 194.6 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 286.9 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9269/0.9269, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 105.5 kB / 0.5954 GB, free: 27.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1401, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002617/0.1428, allocations: 1.61 MB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006029/0.1434, allocations: 335.9 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.1435, allocations: 0.875 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.1435, allocations: 11.86 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.1436, allocations: 16.53 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1439, allocations: 82.31 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.144, allocations: 107.6 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1441, allocations: 44.17 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.652e-05/0.1442, allocations: 35.86 kB / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.792e-05/0.1443, allocations: 55.75 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1443, allocations: 8 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.209e-05/0.1444, allocations: 27.98 kB / 0.6826 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.1444, allocations: 19.98 kB / 0.6826 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.1445, allocations: 43.73 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1446, allocations: 111.7 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1446, allocations: 0 / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1446, allocations: 4 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1447, allocations: 0 / 0.6827 GB, free: 14.09 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.000521/0.1452, allocations: 403.1 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1452, allocations: 8.031 kB / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.1453, allocations: 46.73 kB / 0.6832 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.1466, allocations: 160.6 kB / 0.6833 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1468, allocations: 176.2 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1468, allocations: 8.375 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1468, allocations: 8.359 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.1475, allocations: 174.1 kB / 0.6837 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1475, allocations: 3.938 kB / 0.6837 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.1475, allocations: 4 kB / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1475, allocations: 4 kB / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009078/0.1484, allocations: 183.8 kB / 0.6839 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.1496, allocations: 484.1 kB / 0.6843 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.1506, allocations: 186.4 kB / 0.6845 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.151, allocations: 72.78 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1511, allocations: 0 / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1511, allocations: 30.56 kB / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.365e-06/0.1511, allocations: 0 / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.00115/0.1523, allocations: 229.3 kB / 0.6848 GB, free: 11.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.1523, allocations: 59.34 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.1526, allocations: 195.2 kB / 0.6851 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1526, allocations: 25.7 kB / 0.6851 GB, free: 11.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.1526, allocations: 111.9 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.1527, allocations: 7.844 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.1528, allocations: 33.62 kB / 0.6852 GB, free: 11.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1529, allocations: 326.8 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.1533, allocations: 84.78 kB / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.1538, allocations: 98.48 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007593/0.1545, allocations: 154.4 kB / 0.6859 GB, free: 10.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1546, allocations: 0 / 0.6859 GB, free: 10.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009747/0.1555, allocations: 225.3 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.1556, allocations: 5.719 kB / 0.6861 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1556, allocations: 3.938 kB / 0.6861 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1556, allocations: 4 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.1559, allocations: 43.94 kB / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1559, allocations: 0 / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.1563, allocations: 43.8 kB / 0.6862 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.1563, allocations: 11.98 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002106/0.1566, allocations: 120.1 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001797/0.1567, allocations: 78.28 kB / 0.6864 GB, free: 10.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002557/0.157, allocations: 105.9 kB / 0.6865 GB, free: 9.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.157, allocations: 0 / 0.6865 GB, free: 9.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004151/0.1574, allocations: 141.4 kB / 0.6866 GB, free: 9.809 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.1574, allocations: 4 kB / 0.6866 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1575, allocations: 8 kB / 0.6866 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.1575, allocations: 3.938 kB / 0.6866 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1576, allocations: 31.91 kB / 0.6866 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1576, allocations: 8.219 kB / 0.6867 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.1579, allocations: 19.97 kB / 0.6867 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1579, allocations: 4 kB / 0.6867 GB, free: 9.73 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 9.616e-05/0.158, allocations: 176.9 kB / 0.6868 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.158, allocations: 11.81 kB / 0.6869 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.1581, allocations: 20.19 kB / 0.6869 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1581, allocations: 0 / 0.6869 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1581, allocations: 11.92 kB / 0.6869 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1581, allocations: 0 / 0.6869 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1583, allocations: 205.6 kB / 0.6871 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1583, allocations: 0 / 0.6871 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.1586, allocations: 39.94 kB / 0.6871 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1586, allocations: 0 / 0.6871 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1586, allocations: 3.938 kB / 0.6871 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1586, allocations: 7.875 kB / 0.6871 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1586, allocations: 0 / 0.6871 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/0.1594, allocations: 263.5 kB / 0.6874 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.1595, allocations: 96.98 kB / 0.6875 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.1595, allocations: 3.938 kB / 0.6875 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.1598, allocations: 23.97 kB / 0.6875 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.1598, allocations: 11.98 kB / 0.6875 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1598, allocations: 0 / 0.6875 GB, free: 8.773 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.16, allocations: 143.2 kB / 0.6877 GB, free: 8.633 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.16, allocations: 0 / 0.6877 GB, free: 8.633 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.1604, allocations: 32 kB / 0.6877 GB, free: 8.602 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.001028/0.1614, allocations: 0.7942 MB / 0.6885 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1624, allocations: 211.7 kB / 0.6887 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1625, allocations: 0 / 0.6887 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.1628, allocations: 68.47 kB / 0.6887 GB, free: 7.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1632, allocations: 8 kB / 0.6887 GB, free: 7.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.1671, allocations: 1.922 MB / 0.6906 GB, free: 5.492 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.1673, allocations: 0.7001 MB / 0.6913 GB, free: 4.766 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.1675, allocations: 20 kB / 0.6913 GB, free: 4.746 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.1676, allocations: 39.39 kB / 0.6914 GB, free: 4.707 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1676, allocations: 4 kB / 0.6914 GB, free: 4.703 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.2009, allocations: 2.968 MB / 0.6943 GB, free: 1.867 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.464, allocations: 14.92 kB / 0.6943 GB, free: 1.855 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)