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.001538/0.001538, 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.001789/0.001789, allocations: 195.7 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9136/0.9136, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 69.19 kB / 0.5055 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1346, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002713/0.1373, allocations: 1.6 MB / 0.586 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006248/0.138, allocations: 313.5 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.138, allocations: 0 / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.1381, allocations: 7.922 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.1382, allocations: 23.8 kB / 0.5864 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1385, allocations: 59.86 kB / 0.5864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1386, allocations: 103.6 kB / 0.5865 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1388, allocations: 39.95 kB / 0.5866 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.1388, allocations: 39.92 kB / 0.5866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.643e-05/0.1389, allocations: 39.78 kB / 0.5866 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.139, allocations: 11.94 kB / 0.5866 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.868e-05/0.139, allocations: 35.97 kB / 0.5867 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.1391, allocations: 23.91 kB / 0.5867 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.1391, allocations: 35.81 kB / 0.5867 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1393, allocations: 103.9 kB / 0.5868 GB, free: 2.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1393, allocations: 0 / 0.5868 GB, free: 2.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1393, allocations: 0 / 0.5868 GB, free: 2.027 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1393, allocations: 0 / 0.5868 GB, free: 2.027 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.0005199/0.1398, allocations: 399.1 kB / 0.5872 GB, free: 1.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1399, allocations: 12.03 kB / 0.5872 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.1399, allocations: 34.75 kB / 0.5873 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.1409, allocations: 124.7 kB / 0.5874 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1411, allocations: 180.2 kB / 0.5876 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1411, allocations: 4.375 kB / 0.5876 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1411, allocations: 8.375 kB / 0.5876 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.1417, allocations: 161.3 kB / 0.5877 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1417, allocations: 0 / 0.5877 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1417, allocations: 4 kB / 0.5877 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1417, allocations: 11.98 kB / 0.5877 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008008/0.1425, allocations: 155.8 kB / 0.5879 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009355/0.1435, allocations: 444.4 kB / 0.5883 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/0.1442, allocations: 138.5 kB / 0.5884 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.1446, allocations: 72.91 kB / 0.5885 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1446, allocations: 0 / 0.5885 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1447, allocations: 42.56 kB / 0.5886 GB, free: 104 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1447, allocations: 0 / 0.5886 GB, free: 104 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001256/0.1459, allocations: 245.3 kB / 0.5888 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.146, allocations: 55.39 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1461, allocations: 153.9 kB / 0.589 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1462, allocations: 25.7 kB / 0.589 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.1462, allocations: 104 kB / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1462, allocations: 19.73 kB / 0.5891 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.1463, allocations: 25.7 kB / 0.5892 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.1464, allocations: 326.8 kB / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.1468, allocations: 76.78 kB / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.1472, allocations: 67.84 kB / 0.5896 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/0.148, allocations: 140.7 kB / 0.5897 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.148, allocations: 0 / 0.5897 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008195/0.1488, allocations: 189.4 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1488, allocations: 7.938 kB / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1488, allocations: 0 / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1488, allocations: 0 / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.1491, allocations: 35.95 kB / 0.59 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1491, allocations: 0 / 0.59 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.1494, allocations: 31.88 kB / 0.59 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1494, allocations: 7.984 kB / 0.59 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001445/0.1495, allocations: 112.1 kB / 0.5901 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001078/0.1496, allocations: 60.44 kB / 0.5902 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000193/0.1498, allocations: 80.19 kB / 0.5902 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.1499, allocations: 4 kB / 0.5902 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002566/0.1501, allocations: 109.4 kB / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1501, allocations: 8 kB / 0.5904 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1501, allocations: 0 / 0.5904 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.1502, allocations: 7.875 kB / 0.5904 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.1502, allocations: 19.98 kB / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.1503, allocations: 4.156 kB / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.292e-05/0.1503, allocations: 7.984 kB / 0.5904 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1503, allocations: 4 kB / 0.5904 GB, free: 14.11 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.935e-05/0.1504, allocations: 180.3 kB / 0.5906 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.1505, allocations: 19.75 kB / 0.5906 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/0.1506, allocations: 12.3 kB / 0.5906 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1506, allocations: 4 kB / 0.5906 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1506, allocations: 4.25 kB / 0.5906 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1506, allocations: 0 / 0.5906 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.1517, allocations: 479.9 kB / 0.5911 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1517, allocations: 4 kB / 0.5911 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.1519, allocations: 36 kB / 0.5911 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.152, allocations: 4 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.152, allocations: 0 / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.152, allocations: 0 / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.152, allocations: 4 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008457/0.1528, allocations: 292.9 kB / 0.5914 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.1529, allocations: 96.98 kB / 0.5915 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.153, allocations: 4 kB / 0.5915 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.1532, allocations: 23.97 kB / 0.5915 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1533, allocations: 11.94 kB / 0.5915 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.1533, allocations: 3.984 kB / 0.5915 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.89e-05/0.1534, allocations: 119.2 kB / 0.5916 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1534, allocations: 0 / 0.5916 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003258/0.1537, allocations: 28 kB / 0.5917 GB, free: 12.69 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.001083/0.1548, allocations: 0.8231 MB / 0.5925 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009174/0.1557, allocations: 187.7 kB / 0.5926 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1557, allocations: 4.312 kB / 0.5926 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.1561, allocations: 75.86 kB / 0.5927 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1564, allocations: 16.95 kB / 0.5927 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.1602, allocations: 1.884 MB / 0.5946 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1605, allocations: 0.7015 MB / 0.5953 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.186e-05/0.1606, allocations: 12 kB / 0.5953 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.1607, allocations: 39.39 kB / 0.5953 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1607, allocations: 0 / 0.5953 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.1784, allocations: 2.703 MB / 0.598 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.754, allocations: 10.64 kB / 0.598 GB, free: 6.215 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)