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.001043/0.001043, allocations: 98.03 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.008307/0.008307, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.334/1.334, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7592/0.7592, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005003, allocations: 8.875 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3925, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001647/0.3942, allocations: 1.331 MB / 0.585 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006743/0.3949, allocations: 303.2 kB / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.395, allocations: 0 / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.395, allocations: 5.953 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.3951, allocations: 18.8 kB / 0.5854 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.3954, allocations: 58.41 kB / 0.5854 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3956, allocations: 94.69 kB / 0.5855 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3957, allocations: 29.11 kB / 0.5855 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.3958, allocations: 38.62 kB / 0.5856 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.3959, allocations: 35.5 kB / 0.5856 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.3959, allocations: 2.875 kB / 0.5856 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.396e-05/0.396, allocations: 23.11 kB / 0.5856 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.3961, allocations: 21.5 kB / 0.5856 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.3961, allocations: 59.55 kB / 0.5857 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.3963, allocations: 97.55 kB / 0.5858 GB, free: 2.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3963, allocations: 0.6875 kB / 0.5858 GB, free: 2.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3963, allocations: 0 / 0.5858 GB, free: 2.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3963, allocations: 0 / 0.5858 GB, free: 2.637 MB / 430.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.0005179/0.3969, allocations: 390.5 kB / 0.5862 GB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3969, allocations: 13.41 kB / 0.5862 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.631e-05/0.397, allocations: 43.78 kB / 0.5862 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.398, allocations: 132.2 kB / 0.5864 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.04e-05/0.3981, allocations: 178.5 kB / 0.5865 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3981, allocations: 7.844 kB / 0.5865 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.3982, allocations: 5.812 kB / 0.5865 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.3987, allocations: 162 kB / 0.5867 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3988, allocations: 4.688 kB / 0.5867 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3988, allocations: 8.906 kB / 0.5867 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3988, allocations: 2.422 kB / 0.5867 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008181/0.3996, allocations: 175.5 kB / 0.5869 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009819/0.4006, allocations: 453.4 kB / 0.5873 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.4013, allocations: 160.5 kB / 0.5875 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.4018, allocations: 89.64 kB / 0.5875 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.4018, allocations: 0.7969 kB / 0.5875 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.4018, allocations: 36.55 kB / 0.5876 GB, free: 1.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.4018, allocations: 0 / 0.5876 GB, free: 1.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001282/0.4031, allocations: 279 kB / 0.5878 GB, free: 1.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.4031, allocations: 56.28 kB / 0.5879 GB, free: 1.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.4033, allocations: 160.4 kB / 0.5881 GB, free: 1.129 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.4033, allocations: 26.52 kB / 0.5881 GB, free: 1.098 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.4033, allocations: 102.7 kB / 0.5882 GB, free: 1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.4034, allocations: 24.08 kB / 0.5882 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.4034, allocations: 11.95 kB / 0.5882 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.147e-05/0.4034, allocations: 320 kB / 0.5885 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.4039, allocations: 82.19 kB / 0.5886 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.4042, allocations: 90.53 kB / 0.5887 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/0.405, allocations: 164.6 kB / 0.5888 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.405, allocations: 0 / 0.5888 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008542/0.4059, allocations: 203.1 kB / 0.589 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.406, allocations: 101.7 kB / 0.5891 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.406, allocations: 0 / 0.5891 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.406, allocations: 1.812 kB / 0.5891 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.4063, allocations: 43.33 kB / 0.5892 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4063, allocations: 2.062 kB / 0.5892 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.4066, allocations: 33.94 kB / 0.5892 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.4066, allocations: 12.5 kB / 0.5892 GB, free: 396 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.4066, allocations: 4.125 kB / 0.5892 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002334/0.4068, allocations: 65.36 kB / 0.5893 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.4068, allocations: 0.6562 kB / 0.5893 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.4069, allocations: 5.297 kB / 0.5893 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.4069, allocations: 23.03 kB / 0.5893 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.407, allocations: 3.938 kB / 0.5893 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.407, allocations: 14.31 kB / 0.5893 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.407, allocations: 0.9062 kB / 0.5893 GB, free: 368 kB / 430.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 8.698e-05/0.4071, allocations: 194.6 kB / 0.5895 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.4072, allocations: 7.188 kB / 0.5895 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.165e-05/0.4072, allocations: 17.56 kB / 0.5895 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4072, allocations: 8.531 kB / 0.5895 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4073, allocations: 0.5938 kB / 0.5895 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4073, allocations: 5.266 kB / 0.5896 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.4085, allocations: 0.5015 MB / 0.59 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4085, allocations: 1.406 kB / 0.59 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.4087, allocations: 41.08 kB / 0.5901 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4088, allocations: 2.125 kB / 0.5901 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.4088, allocations: 3.453 kB / 0.5901 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.4088, allocations: 0.9688 kB / 0.5901 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4088, allocations: 2.094 kB / 0.5901 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008873/0.4097, allocations: 318.8 kB / 0.5904 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.91e-05/0.4098, allocations: 100.3 kB / 0.5905 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.4098, allocations: 2.031 kB / 0.5905 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.4101, allocations: 29.28 kB / 0.5905 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.4101, allocations: 4.422 kB / 0.5905 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.4101, allocations: 4.641 kB / 0.5905 GB, free: 15.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.841e-05/0.4102, allocations: 125 kB / 0.5906 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4102, allocations: 0.5625 kB / 0.5906 GB, free: 15.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003253/0.4106, allocations: 25.97 kB / 0.5907 GB, free: 15.36 MB / 446.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.001148/0.4117, allocations: 0.8434 MB / 0.5915 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009653/0.4127, allocations: 208.4 kB / 0.5917 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4127, allocations: 1.031 kB / 0.5917 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.4131, allocations: 86 kB / 0.5918 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.4135, allocations: 8.656 kB / 0.5918 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.4175, allocations: 1.988 MB / 0.5937 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.4177, allocations: 0.6991 MB / 0.5944 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.4178, allocations: 14.03 kB / 0.5944 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.967e-05/0.418, allocations: 32.88 kB / 0.5945 GB, free: 12.42 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.418, allocations: 0 / 0.5945 GB, free: 12.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.4554, allocations: 2.408 MB / 0.5968 GB, free: 11.94 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.4556, allocations: 194.3 kB / 0.597 GB, free: 11.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.233, allocations: 0 / 0.597 GB, free: 11.69 MB / 446.1 MB (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)