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.001001/0.001001, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001016/0.001016, allocations: 196.4 kB / 16.25 MB, free: 6.621 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7071/0.7071, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 59.41 kB / 0.5014 GB, free: 4.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3413, allocations: 80.2 MB / 0.5797 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002279/0.3436, allocations: 1.667 MB / 0.5813 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004882/0.3441, allocations: 306.3 kB / 0.5816 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.3442, allocations: 1.094 kB / 0.5816 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.3442, allocations: 2.156 kB / 0.5816 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.8e-05/0.3443, allocations: 16.73 kB / 0.5816 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.3446, allocations: 67.27 kB / 0.5817 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3447, allocations: 106.6 kB / 0.5818 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3448, allocations: 29.38 kB / 0.5818 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.392e-05/0.3449, allocations: 36.11 kB / 0.5819 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.3449, allocations: 53.89 kB / 0.5819 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.345, allocations: 8.031 kB / 0.5819 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.345, allocations: 25.88 kB / 0.5819 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.3451, allocations: 19.45 kB / 0.582 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.3451, allocations: 38.98 kB / 0.582 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.3452, allocations: 106.8 kB / 0.5821 GB, free: 2.934 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3453, allocations: 0.6562 kB / 0.5821 GB, free: 2.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3453, allocations: 0 / 0.5821 GB, free: 2.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3453, allocations: 0.9375 kB / 0.5821 GB, free: 2.934 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.0004246/0.3457, allocations: 404.3 kB / 0.5825 GB, free: 2.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3457, allocations: 10.52 kB / 0.5825 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.3458, allocations: 42.72 kB / 0.5825 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.3468, allocations: 123.2 kB / 0.5826 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.626e-05/0.3469, allocations: 178.4 kB / 0.5828 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3469, allocations: 7.062 kB / 0.5828 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.347, allocations: 4.812 kB / 0.5828 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.3475, allocations: 163 kB / 0.583 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3475, allocations: 0 / 0.583 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3475, allocations: 5.156 kB / 0.583 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3475, allocations: 1.562 kB / 0.583 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/0.3483, allocations: 164.4 kB / 0.5831 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008593/0.3491, allocations: 438.1 kB / 0.5836 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.3498, allocations: 144.4 kB / 0.5837 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.3502, allocations: 76.03 kB / 0.5838 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3502, allocations: 5.344 kB / 0.5838 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.084e-05/0.3502, allocations: 31.34 kB / 0.5838 GB, free: 1.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.3502, allocations: 4 kB / 0.5838 GB, free: 1.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001175/0.3514, allocations: 244.1 kB / 0.584 GB, free: 1.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.3514, allocations: 57.03 kB / 0.5841 GB, free: 1.543 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3516, allocations: 160.9 kB / 0.5843 GB, free: 1.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3516, allocations: 25.7 kB / 0.5843 GB, free: 1.387 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.3516, allocations: 99.8 kB / 0.5844 GB, free: 1.293 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.3516, allocations: 19.23 kB / 0.5844 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.3517, allocations: 25.91 kB / 0.5844 GB, free: 1.258 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.3517, allocations: 323.5 kB / 0.5847 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.3521, allocations: 77.22 kB / 0.5848 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.3525, allocations: 62.98 kB / 0.5849 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.3532, allocations: 139.9 kB / 0.585 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3532, allocations: 0 / 0.585 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007369/0.3539, allocations: 182.5 kB / 0.5852 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3539, allocations: 17.92 kB / 0.5852 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3539, allocations: 0.75 kB / 0.5852 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.354, allocations: 0.625 kB / 0.5852 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3542, allocations: 39.09 kB / 0.5852 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3542, allocations: 1.203 kB / 0.5852 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.3545, allocations: 33.14 kB / 0.5853 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.3545, allocations: 4.109 kB / 0.5853 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001108/0.3546, allocations: 110 kB / 0.5854 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.011e-05/0.3547, allocations: 54.62 kB / 0.5854 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001602/0.3549, allocations: 83.8 kB / 0.5855 GB, free: 0.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.3549, allocations: 1.766 kB / 0.5855 GB, free: 0.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002207/0.3551, allocations: 113.8 kB / 0.5856 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.3551, allocations: 5.375 kB / 0.5856 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.3551, allocations: 2.203 kB / 0.5856 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.3551, allocations: 5.781 kB / 0.5856 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.3552, allocations: 17.7 kB / 0.5856 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.3552, allocations: 9.516 kB / 0.5856 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.3553, allocations: 11.89 kB / 0.5857 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.3553, allocations: 2.438 kB / 0.5857 GB, free: 0.5039 MB / 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 4.784e-05/0.3553, allocations: 182.4 kB / 0.5858 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.3554, allocations: 16.19 kB / 0.5858 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.3554, allocations: 13.27 kB / 0.5859 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3554, allocations: 1.188 kB / 0.5859 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3555, allocations: 0 / 0.5859 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3555, allocations: 5.562 kB / 0.5859 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009876/0.3565, allocations: 476.1 kB / 0.5863 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3565, allocations: 1.219 kB / 0.5863 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.3567, allocations: 41.12 kB / 0.5864 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3567, allocations: 1.156 kB / 0.5864 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.3567, allocations: 9.484 kB / 0.5864 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3567, allocations: 0 / 0.5864 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3568, allocations: 5.375 kB / 0.5864 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.3575, allocations: 290.1 kB / 0.5867 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.3576, allocations: 96.12 kB / 0.5867 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.3576, allocations: 2.562 kB / 0.5867 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.3579, allocations: 28.08 kB / 0.5868 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.3579, allocations: 4.438 kB / 0.5868 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.358, allocations: 4.188 kB / 0.5868 GB, free: 15.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.296e-05/0.358, allocations: 120.9 kB / 0.5869 GB, free: 15.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3581, allocations: 0 / 0.5869 GB, free: 15.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.3584, allocations: 34.44 kB / 0.5869 GB, free: 15.53 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.001049/0.3594, allocations: 0.8266 MB / 0.5877 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008749/0.3603, allocations: 190.2 kB / 0.5879 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3603, allocations: 0 / 0.5879 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.3607, allocations: 74.25 kB / 0.588 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.361, allocations: 11.19 kB / 0.588 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.3647, allocations: 1.913 MB / 0.5899 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.365, allocations: 0.6969 MB / 0.5906 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.842e-05/0.3651, allocations: 15.03 kB / 0.5906 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/0.3652, allocations: 33.31 kB / 0.5906 GB, free: 12.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3652, allocations: 0 / 0.5906 GB, free: 12.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.3779, allocations: 2.559 MB / 0.5931 GB, free: 12.13 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.3782, allocations: 196.6 kB / 0.5933 GB, free: 11.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.066, allocations: 0 / 0.5933 GB, free: 11.88 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)