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.0009366/0.0009366, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009738/0.0009738, allocations: 194.8 kB / 16.14 MB, free: 6.668 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7904/0.7904, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002024, allocations: 60.78 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1349, allocations: 80.93 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00237/0.1373, allocations: 1.66 MB / 0.5854 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005199/0.1378, allocations: 308 kB / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.1378, allocations: 3.938 kB / 0.5857 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.1379, allocations: 7.922 kB / 0.5857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.187e-05/0.1379, allocations: 19.8 kB / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.1381, allocations: 55.88 kB / 0.5858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.1383, allocations: 99.7 kB / 0.5859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.1384, allocations: 39.89 kB / 0.5859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.1384, allocations: 31.92 kB / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.1385, allocations: 39.78 kB / 0.586 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1385, allocations: 8 kB / 0.586 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.1386, allocations: 23.98 kB / 0.586 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.1386, allocations: 19.91 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.1387, allocations: 39.8 kB / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1388, allocations: 103.9 kB / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1388, allocations: 4 kB / 0.5862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1388, allocations: 0 / 0.5862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.1388, allocations: 0 / 0.5862 GB, free: 2.426 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.0004614/0.1393, allocations: 395.2 kB / 0.5866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1393, allocations: 12.03 kB / 0.5866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.1393, allocations: 38.75 kB / 0.5866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009534/0.1403, allocations: 120.7 kB / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.883e-05/0.1404, allocations: 180.1 kB / 0.5869 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1404, allocations: 12.38 kB / 0.5869 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1405, allocations: 4.375 kB / 0.5869 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.1409, allocations: 157.4 kB / 0.5871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.141, allocations: 4 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.141, allocations: 0 / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.141, allocations: 4 kB / 0.5871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/0.1417, allocations: 147.8 kB / 0.5872 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008401/0.1425, allocations: 456.3 kB / 0.5877 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.1432, allocations: 142.4 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.1435, allocations: 76.91 kB / 0.5879 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1436, allocations: 0 / 0.5879 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.1436, allocations: 30.56 kB / 0.5879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.1436, allocations: 4 kB / 0.5879 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001087/0.1447, allocations: 241.3 kB / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.1447, allocations: 51.41 kB / 0.5882 GB, free: 208 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1448, allocations: 166.5 kB / 0.5884 GB, free: 32 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1449, allocations: 25.7 kB / 0.5884 GB, free: 0 / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.1449, allocations: 100 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.145, allocations: 23.69 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.145, allocations: 25.69 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.1451, allocations: 318.8 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.1455, allocations: 76.78 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.1458, allocations: 67.92 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.1465, allocations: 144.6 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1465, allocations: 4 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007323/0.1472, allocations: 181.4 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.1473, allocations: 7.938 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1473, allocations: 0 / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.1473, allocations: 0 / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.1475, allocations: 48.14 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1475, allocations: 240 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1477, allocations: 27.88 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.1478, allocations: 7.984 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00013/0.1479, allocations: 112.1 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.467e-05/0.148, allocations: 60.25 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001678/0.1482, allocations: 84.19 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.1482, allocations: 0 / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002295/0.1484, allocations: 105.4 kB / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.1484, allocations: 6.969 kB / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/0.1484, allocations: 8 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.1485, allocations: 3.938 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.1485, allocations: 23.92 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.1485, allocations: 0 / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.1486, allocations: 7.984 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1486, allocations: 7.984 kB / 0.5898 GB, free: 14.51 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 8.191e-05/0.1487, allocations: 184.2 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.1487, allocations: 15.75 kB / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.1488, allocations: 16.31 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1488, allocations: 0 / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1488, allocations: 4 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1488, allocations: 3.984 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.1498, allocations: 475.9 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1498, allocations: 0 / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.15, allocations: 31.95 kB / 0.5905 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.15, allocations: 7.984 kB / 0.5905 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1501, allocations: 4.062 kB / 0.5905 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1501, allocations: 4 kB / 0.5905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.1501, allocations: 4 kB / 0.5905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.1508, allocations: 288.9 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.1509, allocations: 96.98 kB / 0.5908 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1509, allocations: 4 kB / 0.5909 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.1512, allocations: 23.97 kB / 0.5909 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.1512, allocations: 0 / 0.5909 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1512, allocations: 11.98 kB / 0.5909 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.914e-05/0.1513, allocations: 119.2 kB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1513, allocations: 3.938 kB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002965/0.1516, allocations: 28 kB / 0.591 GB, free: 13.09 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.0009693/0.1526, allocations: 0.8232 MB / 0.5918 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008033/0.1534, allocations: 187.8 kB / 0.592 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1534, allocations: 0 / 0.592 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.1538, allocations: 80.3 kB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1541, allocations: 8 kB / 0.5921 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.1575, allocations: 1.916 MB / 0.594 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.1577, allocations: 0.6965 MB / 0.5946 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.714e-05/0.1578, allocations: 8 kB / 0.5947 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.1579, allocations: 39.34 kB / 0.5947 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1579, allocations: 4 kB / 0.5947 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.47/0.6279, allocations: 2.481 MB / 0.5971 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.6282, allocations: 199 kB / 0.5973 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.418, allocations: 0 / 0.5973 GB, free: 6.598 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)