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.005194/0.005194, allocations: 106 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 279.9 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9059/0.9059, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 99.86 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4173, allocations: 86.98 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002677/0.4201, allocations: 1.612 MB / 0.7675 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006074/0.4207, allocations: 341.6 kB / 0.7678 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.4208, allocations: 0 / 0.7678 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.4208, allocations: 3.938 kB / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.932e-05/0.4209, allocations: 23.78 kB / 0.7678 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.4212, allocations: 79.78 kB / 0.7679 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.4213, allocations: 111.6 kB / 0.768 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.4214, allocations: 39.77 kB / 0.7681 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.4215, allocations: 39.84 kB / 0.7681 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.4216, allocations: 47.83 kB / 0.7681 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.4216, allocations: 4 kB / 0.7681 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.099e-05/0.4217, allocations: 35.97 kB / 0.7682 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.4218, allocations: 23.92 kB / 0.7682 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.4218, allocations: 39.75 kB / 0.7682 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.422, allocations: 116.8 kB / 0.7683 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.422, allocations: 0 / 0.7683 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.422, allocations: 0 / 0.7683 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.422, allocations: 0 / 0.7683 GB, free: 1.367 MB / 0.5294 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.000523/0.4225, allocations: 410.9 kB / 0.7687 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.4226, allocations: 12.02 kB / 0.7688 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.4226, allocations: 42.75 kB / 0.7688 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.424, allocations: 164.6 kB / 0.7689 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.4241, allocations: 188.2 kB / 0.7691 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4241, allocations: 8.375 kB / 0.7691 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.4241, allocations: 4.375 kB / 0.7691 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.4247, allocations: 172.6 kB / 0.7693 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4248, allocations: 7.922 kB / 0.7693 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.4248, allocations: 4 kB / 0.7693 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4248, allocations: 8 kB / 0.7693 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000897/0.4257, allocations: 187.7 kB / 0.7695 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.4268, allocations: 476.3 kB / 0.77 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4279, allocations: 190.4 kB / 0.7701 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.4282, allocations: 60.8 kB / 0.7702 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.4283, allocations: 4 kB / 0.7702 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.4283, allocations: 38.48 kB / 0.7702 GB, free: 15.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.364e-06/0.4283, allocations: 0 / 0.7702 GB, free: 15.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001146/0.4295, allocations: 229.3 kB / 0.7705 GB, free: 15.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.4295, allocations: 51.41 kB / 0.7705 GB, free: 14.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.4297, allocations: 184.6 kB / 0.7707 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4298, allocations: 25.7 kB / 0.7707 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.4298, allocations: 119.9 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.4299, allocations: 3.953 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.4299, allocations: 33.69 kB / 0.7709 GB, free: 14.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.43, allocations: 318.8 kB / 0.7712 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.4305, allocations: 92.77 kB / 0.7712 GB, free: 14.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.4309, allocations: 102.4 kB / 0.7713 GB, free: 14.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.4317, allocations: 150.4 kB / 0.7715 GB, free: 13.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4317, allocations: 0 / 0.7715 GB, free: 13.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009569/0.4327, allocations: 221.5 kB / 0.7717 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4327, allocations: 4 kB / 0.7717 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4327, allocations: 3.938 kB / 0.7717 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4327, allocations: 4 kB / 0.7717 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.433, allocations: 47.88 kB / 0.7718 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4331, allocations: 0 / 0.7718 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.4335, allocations: 51.83 kB / 0.7718 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.4335, allocations: 4 kB / 0.7718 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002157/0.4337, allocations: 124.1 kB / 0.7719 GB, free: 13.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001826/0.4339, allocations: 73.98 kB / 0.772 GB, free: 13.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002626/0.4342, allocations: 109.8 kB / 0.7721 GB, free: 13.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.4342, allocations: 0 / 0.7721 GB, free: 13.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004777/0.4346, allocations: 137.4 kB / 0.7722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.4347, allocations: 4 kB / 0.7722 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4347, allocations: 4 kB / 0.7722 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.718e-06/0.4347, allocations: 3.938 kB / 0.7722 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.4348, allocations: 32.19 kB / 0.7723 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4349, allocations: 7.938 kB / 0.7723 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.4351, allocations: 27.98 kB / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4351, allocations: 4 kB / 0.7723 GB, free: 13 MB / 0.545 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 (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 8.561e-05/0.4352, allocations: 179.5 kB / 0.7725 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.4352, allocations: 11.95 kB / 0.7725 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.4353, allocations: 20.17 kB / 0.7725 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4353, allocations: 0 / 0.7725 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4353, allocations: 7.938 kB / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.4353, allocations: 0 / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.4355, allocations: 209.6 kB / 0.7727 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4355, allocations: 0 / 0.7727 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.4358, allocations: 35.95 kB / 0.7728 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4358, allocations: 0 / 0.7728 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.4358, allocations: 7.922 kB / 0.7728 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4358, allocations: 0 / 0.7728 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4358, allocations: 0 / 0.7728 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/0.4366, allocations: 259.5 kB / 0.773 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.4367, allocations: 101 kB / 0.7731 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.4367, allocations: 7.984 kB / 0.7731 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.437, allocations: 31.94 kB / 0.7731 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.437, allocations: 4 kB / 0.7732 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.4371, allocations: 0 / 0.7732 GB, free: 12.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001979/0.4373, allocations: 147.2 kB / 0.7733 GB, free: 11.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.4373, allocations: 0 / 0.7733 GB, free: 11.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000334/0.4376, allocations: 35.94 kB / 0.7733 GB, free: 11.87 MB / 0.545 GB 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.0009835/0.4386, allocations: 0.7942 MB / 0.7741 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.4396, allocations: 208.2 kB / 0.7743 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4396, allocations: 4.125 kB / 0.7743 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.44, allocations: 63.86 kB / 0.7744 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.4403, allocations: 8 kB / 0.7744 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.4443, allocations: 1.925 MB / 0.7763 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.4445, allocations: 0.6962 MB / 0.7769 GB, free: 8.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.4446, allocations: 24 kB / 0.777 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.77e-05/0.4447, allocations: 35.39 kB / 0.777 GB, free: 7.969 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4447, allocations: 0 / 0.777 GB, free: 7.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.464, allocations: 3.018 MB / 0.7799 GB, free: 5.105 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.583, allocations: 10.3 kB / 0.7799 GB, free: 5.102 MB / 0.545 GB (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)