Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_IDEAS_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.001386/0.001386, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001627/0.001627, allocations: 191 kB / 16.14 MB, free: 6.707 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6926/0.6926, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001107, allocations: 59.77 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1455, allocations: 80.19 MB / 0.5795 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002978/0.1485, allocations: 1.675 MB / 0.5811 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005961/0.1492, allocations: 307.9 kB / 0.5814 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.1492, allocations: 0 / 0.5814 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.1492, allocations: 3.938 kB / 0.5814 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.748e-05/0.1493, allocations: 23.84 kB / 0.5815 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.1497, allocations: 55.95 kB / 0.5815 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.1498, allocations: 103.6 kB / 0.5816 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1499, allocations: 23.98 kB / 0.5816 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.15, allocations: 35.8 kB / 0.5817 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.1501, allocations: 55.81 kB / 0.5817 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1501, allocations: 4 kB / 0.5817 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.44e-05/0.1502, allocations: 23.98 kB / 0.5817 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.1502, allocations: 15.92 kB / 0.5818 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.1502, allocations: 39.73 kB / 0.5818 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1504, allocations: 99.97 kB / 0.5819 GB, free: 6.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1504, allocations: 0 / 0.5819 GB, free: 6.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1504, allocations: 0 / 0.5819 GB, free: 6.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1504, allocations: 0 / 0.5819 GB, free: 6.66 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.000551/0.151, allocations: 400.4 kB / 0.5823 GB, free: 6.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.151, allocations: 12.03 kB / 0.5823 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1511, allocations: 38.73 kB / 0.5823 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009841/0.152, allocations: 120.7 kB / 0.5824 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1522, allocations: 180.2 kB / 0.5826 GB, free: 5.832 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1522, allocations: 12.31 kB / 0.5826 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1522, allocations: 8.375 kB / 0.5826 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.1528, allocations: 163.8 kB / 0.5828 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1529, allocations: 0 / 0.5828 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1529, allocations: 0 / 0.5828 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1529, allocations: 7.984 kB / 0.5828 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.1536, allocations: 155.8 kB / 0.5829 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009215/0.1545, allocations: 440.4 kB / 0.5834 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.1552, allocations: 138.4 kB / 0.5835 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.1556, allocations: 72.92 kB / 0.5836 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1556, allocations: 7.922 kB / 0.5836 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.1556, allocations: 38.5 kB / 0.5836 GB, free: 4.734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1556, allocations: 4 kB / 0.5836 GB, free: 4.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001172/0.1568, allocations: 241.5 kB / 0.5838 GB, free: 4.488 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1569, allocations: 55.41 kB / 0.5839 GB, free: 4.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.157, allocations: 157.5 kB / 0.584 GB, free: 4.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.157, allocations: 25.7 kB / 0.5841 GB, free: 4.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.1571, allocations: 104 kB / 0.5842 GB, free: 4.125 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.1571, allocations: 19.75 kB / 0.5842 GB, free: 4.105 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.1572, allocations: 25.7 kB / 0.5842 GB, free: 4.074 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1573, allocations: 322.8 kB / 0.5845 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.1577, allocations: 80.84 kB / 0.5846 GB, free: 3.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.158, allocations: 67.92 kB / 0.5847 GB, free: 3.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.1588, allocations: 140.7 kB / 0.5848 GB, free: 3.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1588, allocations: 0 / 0.5848 GB, free: 3.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007337/0.1595, allocations: 185.5 kB / 0.585 GB, free: 3.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1595, allocations: 7.938 kB / 0.585 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1596, allocations: 240 / 0.585 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1596, allocations: 4 kB / 0.585 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.1598, allocations: 35.94 kB / 0.585 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1598, allocations: 3.984 kB / 0.585 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.1601, allocations: 27.88 kB / 0.585 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1601, allocations: 8 kB / 0.5851 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000139/0.1602, allocations: 116 kB / 0.5852 GB, free: 3.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001002/0.1603, allocations: 56.27 kB / 0.5852 GB, free: 3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001643/0.1605, allocations: 80.2 kB / 0.5853 GB, free: 2.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-07/0.1605, allocations: 0 / 0.5853 GB, free: 2.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002831/0.1608, allocations: 109.4 kB / 0.5854 GB, free: 2.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.1608, allocations: 11.98 kB / 0.5854 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.1608, allocations: 0 / 0.5854 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/0.1608, allocations: 3.938 kB / 0.5854 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.1609, allocations: 19.98 kB / 0.5854 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-06/0.1609, allocations: 0 / 0.5854 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.161, allocations: 12.16 kB / 0.5854 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.161, allocations: 4 kB / 0.5854 GB, free: 2.742 MB / 494.1 MB 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 9e-05/0.1611, allocations: 180.3 kB / 0.5856 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.1612, allocations: 19.73 kB / 0.5856 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.1612, allocations: 8.312 kB / 0.5856 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.1612, allocations: 4 kB / 0.5857 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1612, allocations: 0 / 0.5857 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1612, allocations: 4 kB / 0.5857 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.1623, allocations: 487.8 kB / 0.5861 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1623, allocations: 7.938 kB / 0.5861 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.1626, allocations: 32.02 kB / 0.5862 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1626, allocations: 4 kB / 0.5862 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1626, allocations: 3.984 kB / 0.5862 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1626, allocations: 0 / 0.5862 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1626, allocations: 4 kB / 0.5862 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/0.1634, allocations: 292.9 kB / 0.5864 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.1635, allocations: 97 kB / 0.5865 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.1635, allocations: 4 kB / 0.5865 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.1637, allocations: 23.97 kB / 0.5866 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1638, allocations: 7.984 kB / 0.5866 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.1638, allocations: 0 / 0.5866 GB, free: 1.473 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.769e-05/0.1639, allocations: 122.7 kB / 0.5867 GB, free: 1.355 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1639, allocations: 0 / 0.5867 GB, free: 1.355 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.1642, allocations: 35.91 kB / 0.5867 GB, free: 1.32 MB / 494.1 MB 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.001073/0.1653, allocations: 0.8232 MB / 0.5875 GB, free: 472 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008518/0.1662, allocations: 183.8 kB / 0.5877 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1662, allocations: 0 / 0.5877 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.1665, allocations: 80.16 kB / 0.5878 GB, free: 208 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1669, allocations: 8 kB / 0.5878 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.1706, allocations: 1.909 MB / 0.5897 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.1711, allocations: 0.7004 MB / 0.5903 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.584e-05/0.1712, allocations: 11.98 kB / 0.5903 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.1714, allocations: 35.41 kB / 0.5904 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1714, allocations: 0 / 0.5904 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.372/1.544, allocations: 2.483 MB / 0.5928 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/1.544, allocations: 192.3 kB / 0.593 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/3.531, allocations: 7.109 kB / 0.593 GB, free: 10.82 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)