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.00169/0.00169, 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.001809/0.001809, allocations: 196.6 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7601/0.7601, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.02 kB / 0.5019 GB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3337, allocations: 80.19 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002363/0.3361, allocations: 1.607 MB / 0.5818 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005199/0.3366, allocations: 311.4 kB / 0.5821 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.3366, allocations: 0.875 kB / 0.5821 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.3367, allocations: 10.52 kB / 0.5821 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.3368, allocations: 15.94 kB / 0.5821 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.337, allocations: 67.64 kB / 0.5822 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.3372, allocations: 111.7 kB / 0.5823 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3373, allocations: 29.92 kB / 0.5823 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.3374, allocations: 32.06 kB / 0.5823 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.3374, allocations: 49.22 kB / 0.5824 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3375, allocations: 6.719 kB / 0.5824 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.912e-05/0.3376, allocations: 28.05 kB / 0.5824 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.3376, allocations: 22.09 kB / 0.5824 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.3376, allocations: 39.86 kB / 0.5825 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3378, allocations: 110.2 kB / 0.5826 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3378, allocations: 0.7812 kB / 0.5826 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3378, allocations: 0 / 0.5826 GB, free: 2.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3378, allocations: 0.6562 kB / 0.5826 GB, free: 2.965 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.000434/0.3383, allocations: 400.4 kB / 0.5829 GB, free: 2.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3383, allocations: 10.03 kB / 0.583 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.888e-05/0.3383, allocations: 40.09 kB / 0.583 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.3394, allocations: 122.7 kB / 0.5831 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.133e-05/0.3394, allocations: 178 kB / 0.5833 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3395, allocations: 7.375 kB / 0.5833 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.3395, allocations: 9.641 kB / 0.5833 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/0.34, allocations: 156 kB / 0.5834 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3401, allocations: 0.6094 kB / 0.5834 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3401, allocations: 0.6562 kB / 0.5834 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3401, allocations: 2.531 kB / 0.5834 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.3409, allocations: 150.8 kB / 0.5836 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008809/0.3418, allocations: 451.1 kB / 0.584 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/0.3425, allocations: 145.3 kB / 0.5842 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.3429, allocations: 79.55 kB / 0.5842 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3429, allocations: 0.6562 kB / 0.5842 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.11e-05/0.3429, allocations: 31.72 kB / 0.5843 GB, free: 1.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3429, allocations: 0 / 0.5843 GB, free: 1.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001247/0.3442, allocations: 245 kB / 0.5845 GB, free: 1.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.3442, allocations: 60.09 kB / 0.5846 GB, free: 1.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3443, allocations: 160.6 kB / 0.5847 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3444, allocations: 27.3 kB / 0.5847 GB, free: 1.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.3444, allocations: 97.69 kB / 0.5848 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.3444, allocations: 19.58 kB / 0.5848 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.3445, allocations: 25.45 kB / 0.5849 GB, free: 1.301 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.3445, allocations: 320.8 kB / 0.5852 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.3449, allocations: 80.09 kB / 0.5853 GB, free: 0.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.3453, allocations: 75.77 kB / 0.5853 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007343/0.3461, allocations: 136.5 kB / 0.5855 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3461, allocations: 0 / 0.5855 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008131/0.3469, allocations: 187.1 kB / 0.5856 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3469, allocations: 10.56 kB / 0.5856 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3469, allocations: 1.375 kB / 0.5856 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3469, allocations: 0 / 0.5856 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.3472, allocations: 43.91 kB / 0.5857 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3472, allocations: 0 / 0.5857 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.3475, allocations: 30.05 kB / 0.5857 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.3475, allocations: 7.828 kB / 0.5857 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001214/0.3476, allocations: 110.2 kB / 0.5858 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001015/0.3477, allocations: 58.62 kB / 0.5859 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001806/0.3479, allocations: 83.56 kB / 0.586 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.3479, allocations: 0.5312 kB / 0.586 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002484/0.3482, allocations: 111 kB / 0.5861 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.872e-06/0.3482, allocations: 9.125 kB / 0.5861 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.3482, allocations: 1.156 kB / 0.5861 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-06/0.3482, allocations: 7.625 kB / 0.5861 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.3483, allocations: 15.81 kB / 0.5861 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.3483, allocations: 2.469 kB / 0.5861 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.3484, allocations: 11.84 kB / 0.5861 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3484, allocations: 2.062 kB / 0.5861 GB, free: 0.543 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 5.156e-05/0.3484, allocations: 186.1 kB / 0.5863 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.3485, allocations: 17.58 kB / 0.5863 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.3485, allocations: 12.39 kB / 0.5863 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3485, allocations: 2.125 kB / 0.5863 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3486, allocations: 0 / 0.5863 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3486, allocations: 0.8906 kB / 0.5863 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.3496, allocations: 476 kB / 0.5868 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3496, allocations: 1.094 kB / 0.5868 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.3499, allocations: 45.36 kB / 0.5868 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3499, allocations: 0.5938 kB / 0.5868 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3499, allocations: 5 kB / 0.5868 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3499, allocations: 6.25 kB / 0.5868 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.35, allocations: 0 / 0.5868 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.3508, allocations: 294.5 kB / 0.5871 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.3509, allocations: 95.58 kB / 0.5872 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.351, allocations: 6.359 kB / 0.5872 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.3512, allocations: 20.28 kB / 0.5872 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.3513, allocations: 7.828 kB / 0.5872 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3513, allocations: 5.781 kB / 0.5872 GB, free: 15.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.683e-05/0.3514, allocations: 120.8 kB / 0.5874 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3514, allocations: 0 / 0.5874 GB, free: 15.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.3517, allocations: 33.53 kB / 0.5874 GB, free: 15.56 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.001129/0.3529, allocations: 0.8236 MB / 0.5882 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009527/0.3538, allocations: 186.2 kB / 0.5884 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3538, allocations: 0 / 0.5884 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.3542, allocations: 78.03 kB / 0.5885 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.3546, allocations: 8.016 kB / 0.5885 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.3584, allocations: 1.891 MB / 0.5903 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.3587, allocations: 0.6978 MB / 0.591 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.3588, allocations: 17.56 kB / 0.591 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-05/0.3589, allocations: 37.61 kB / 0.591 GB, free: 12.65 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3589, allocations: 1.344 kB / 0.591 GB, free: 12.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.786/2.145, allocations: 2.692 MB / 0.5937 GB, free: 11.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/14.4, allocations: 6.422 kB / 0.5937 GB, free: 11.96 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)