Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_dev_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.0008185/0.0008185, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004646/0.004646, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9171/0.9171, allocations: 135.3 MB / 426.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 12 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1498, allocations: 82.31 MB / 0.5881 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00178/0.1516, allocations: 1.313 MB / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006156/0.1522, allocations: 304 kB / 0.5897 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.1523, allocations: 4 kB / 0.5897 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.1523, allocations: 7.922 kB / 0.5897 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.1524, allocations: 11.92 kB / 0.5897 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1527, allocations: 59.86 kB / 0.5897 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.1528, allocations: 99.64 kB / 0.5898 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1529, allocations: 31.97 kB / 0.5899 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.728e-05/0.153, allocations: 27.92 kB / 0.5899 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.1531, allocations: 35.78 kB / 0.5899 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1531, allocations: 4 kB / 0.5899 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-05/0.1532, allocations: 27.97 kB / 0.5899 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.1533, allocations: 15.92 kB / 0.59 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.1533, allocations: 57.5 kB / 0.59 GB, free: 496 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1535, allocations: 99.88 kB / 0.5901 GB, free: 396 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1535, allocations: 0 / 0.5901 GB, free: 396 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1535, allocations: 0 / 0.5901 GB, free: 396 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1535, allocations: 4 kB / 0.5901 GB, free: 392 kB / 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.0005431/0.154, allocations: 391.2 kB / 0.5905 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1541, allocations: 8.031 kB / 0.5905 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.1541, allocations: 38.75 kB / 0.5905 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.1552, allocations: 140.6 kB / 0.5907 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1553, allocations: 180.1 kB / 0.5908 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1553, allocations: 12.38 kB / 0.5909 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1554, allocations: 8.375 kB / 0.5909 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.1559, allocations: 165.5 kB / 0.591 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1559, allocations: 0 / 0.591 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.156, allocations: 3.938 kB / 0.591 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.156, allocations: 0 / 0.591 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.1568, allocations: 179.8 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009746/0.1578, allocations: 452.4 kB / 0.5916 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.1585, allocations: 162.4 kB / 0.5918 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003852/0.1589, allocations: 88.91 kB / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1589, allocations: 0 / 0.5919 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.159, allocations: 34.56 kB / 0.5919 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.159, allocations: 0 / 0.5919 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001268/0.1602, allocations: 289.2 kB / 0.5922 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1603, allocations: 51.41 kB / 0.5922 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1604, allocations: 161.5 kB / 0.5924 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1605, allocations: 25.7 kB / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.1605, allocations: 100 kB / 0.5925 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.1605, allocations: 19.66 kB / 0.5925 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.1606, allocations: 13.72 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1607, allocations: 322.8 kB / 0.5928 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.1611, allocations: 83.92 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.1615, allocations: 83.92 kB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007589/0.1623, allocations: 160.9 kB / 0.5932 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1623, allocations: 0 / 0.5932 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008454/0.1631, allocations: 209.4 kB / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.1632, allocations: 92.94 kB / 0.5934 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1632, allocations: 0 / 0.5934 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1632, allocations: 4 kB / 0.5934 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.1635, allocations: 47.94 kB / 0.5935 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1635, allocations: 0 / 0.5935 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.1637, allocations: 31.97 kB / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.1638, allocations: 0 / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/0.1638, allocations: 7.984 kB / 0.5935 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002276/0.164, allocations: 71.95 kB / 0.5936 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-06/0.164, allocations: 0 / 0.5936 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-06/0.164, allocations: 0 / 0.5936 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.1641, allocations: 23.92 kB / 0.5936 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.1641, allocations: 3.938 kB / 0.5936 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.1642, allocations: 23.83 kB / 0.5936 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.1642, allocations: 3.938 kB / 0.5936 GB, free: 12.52 MB / 0.4981 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 0.0001239/0.1644, allocations: 193.1 kB / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1644, allocations: 7.906 kB / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.1644, allocations: 16.3 kB / 0.5939 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1645, allocations: 3.938 kB / 0.5939 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1645, allocations: 4 kB / 0.5939 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1645, allocations: 3.938 kB / 0.5939 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1656, allocations: 0.4923 MB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1656, allocations: 8 kB / 0.5944 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.1659, allocations: 35.95 kB / 0.5944 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1659, allocations: 3.938 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.1659, allocations: 7.984 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1659, allocations: 8.062 kB / 0.5944 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1659, allocations: 0 / 0.5944 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008994/0.1668, allocations: 305 kB / 0.5947 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.1669, allocations: 96.98 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.167, allocations: 0 / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.1672, allocations: 31.97 kB / 0.5948 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1673, allocations: 7.984 kB / 0.5948 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1673, allocations: 7.938 kB / 0.5948 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.728e-05/0.1674, allocations: 122.9 kB / 0.595 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1674, allocations: 0 / 0.595 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003214/0.1677, allocations: 32 kB / 0.595 GB, free: 11.04 MB / 0.4981 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.001093/0.1688, allocations: 0.8311 MB / 0.5958 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009384/0.1698, allocations: 215.8 kB / 0.596 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1698, allocations: 0 / 0.596 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.1702, allocations: 91.98 kB / 0.5961 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1705, allocations: 13.84 kB / 0.5961 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.1744, allocations: 1.99 MB / 0.598 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1747, allocations: 0.6965 MB / 0.5987 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.795e-05/0.1748, allocations: 12 kB / 0.5987 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1749, allocations: 31.41 kB / 0.5988 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of SimCode: time 9.31e-07/0.1749, allocations: 0 / 0.5988 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3546/0.5296, allocations: 2.423 MB / 0.6011 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.5298, allocations: 195.9 kB / 0.6013 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.375, allocations: 3.938 kB / 0.6013 GB, free: 4.496 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)