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.00113/0.00113, 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.001179/0.001179, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.364/1.364, 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/package.mo): time 0.7704/0.7704, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 72.16 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3875, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002872/0.3904, allocations: 1.602 MB / 0.5818 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000586/0.391, allocations: 299.9 kB / 0.582 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.391, allocations: 5.281 kB / 0.5821 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.3911, allocations: 9.844 kB / 0.5821 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.3912, allocations: 23.69 kB / 0.5821 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.3914, allocations: 67.41 kB / 0.5822 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.3916, allocations: 104 kB / 0.5822 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3917, allocations: 32.36 kB / 0.5823 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.319e-05/0.3918, allocations: 36.77 kB / 0.5823 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.3919, allocations: 49.89 kB / 0.5824 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.3919, allocations: 7.125 kB / 0.5824 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.392, allocations: 27.8 kB / 0.5824 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.392, allocations: 18.73 kB / 0.5824 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.3921, allocations: 38.52 kB / 0.5825 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.3922, allocations: 110.8 kB / 0.5826 GB, free: 2.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3922, allocations: 0 / 0.5826 GB, free: 2.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3923, allocations: 1.516 kB / 0.5826 GB, free: 2.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3923, allocations: 0 / 0.5826 GB, free: 2.984 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.0004913/0.3928, allocations: 400.5 kB / 0.5829 GB, free: 2.594 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3928, allocations: 14.08 kB / 0.583 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.3929, allocations: 46.25 kB / 0.583 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.3939, allocations: 123.5 kB / 0.5831 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.538e-05/0.394, allocations: 174 kB / 0.5833 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3941, allocations: 8.25 kB / 0.5833 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.3941, allocations: 5.531 kB / 0.5833 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.3946, allocations: 162.6 kB / 0.5834 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3947, allocations: 3.938 kB / 0.5835 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3947, allocations: 1.344 kB / 0.5835 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3947, allocations: 1.344 kB / 0.5835 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/0.3955, allocations: 156.5 kB / 0.5836 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009286/0.3964, allocations: 446.5 kB / 0.584 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.3972, allocations: 140.2 kB / 0.5842 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.3976, allocations: 75.91 kB / 0.5842 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3976, allocations: 5.109 kB / 0.5842 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.3976, allocations: 35.97 kB / 0.5843 GB, free: 1.742 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.3976, allocations: 0 / 0.5843 GB, free: 1.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001276/0.3989, allocations: 249.1 kB / 0.5845 GB, free: 1.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.3989, allocations: 51.41 kB / 0.5846 GB, free: 1.598 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3991, allocations: 161.7 kB / 0.5847 GB, free: 1.473 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.3991, allocations: 25.7 kB / 0.5847 GB, free: 1.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.3991, allocations: 98.66 kB / 0.5848 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.3992, allocations: 20.47 kB / 0.5849 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.3992, allocations: 28.2 kB / 0.5849 GB, free: 1.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.3993, allocations: 320.4 kB / 0.5852 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.3997, allocations: 76.47 kB / 0.5853 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.4001, allocations: 67.69 kB / 0.5853 GB, free: 0.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.4008, allocations: 139.7 kB / 0.5855 GB, free: 0.918 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4008, allocations: 0.5625 kB / 0.5855 GB, free: 0.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008385/0.4017, allocations: 187.4 kB / 0.5856 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4017, allocations: 8.75 kB / 0.5856 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4017, allocations: 0.75 kB / 0.5856 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4017, allocations: 1.281 kB / 0.5856 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.402, allocations: 39.89 kB / 0.5857 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.402, allocations: 0 / 0.5857 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.4023, allocations: 33.47 kB / 0.5857 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.4023, allocations: 4.078 kB / 0.5857 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001327/0.4024, allocations: 109.7 kB / 0.5858 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001044/0.4026, allocations: 63.02 kB / 0.5859 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001862/0.4028, allocations: 79.58 kB / 0.586 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.4028, allocations: 4.906 kB / 0.586 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000259/0.403, allocations: 106.4 kB / 0.5861 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.4031, allocations: 9.281 kB / 0.5861 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.4031, allocations: 5.688 kB / 0.5861 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.4031, allocations: 5.781 kB / 0.5861 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.4032, allocations: 20.59 kB / 0.5861 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.4032, allocations: 6.859 kB / 0.5861 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.4033, allocations: 7.516 kB / 0.5861 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.4033, allocations: 3.188 kB / 0.5861 GB, free: 0.5547 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.809e-05/0.4033, allocations: 182.3 kB / 0.5863 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.4034, allocations: 19.88 kB / 0.5863 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/0.4034, allocations: 13.42 kB / 0.5863 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4034, allocations: 0.75 kB / 0.5863 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4034, allocations: 4.781 kB / 0.5863 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4035, allocations: 0.7031 kB / 0.5863 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.4046, allocations: 472.7 kB / 0.5868 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4046, allocations: 1.766 kB / 0.5868 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.4048, allocations: 40.66 kB / 0.5868 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4049, allocations: 5.594 kB / 0.5868 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.4049, allocations: 3.547 kB / 0.5868 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4049, allocations: 1.422 kB / 0.5868 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4049, allocations: 1.531 kB / 0.5868 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009224/0.4058, allocations: 291 kB / 0.5871 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.012e-05/0.4059, allocations: 94.64 kB / 0.5872 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.4059, allocations: 2.094 kB / 0.5872 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.4062, allocations: 29.2 kB / 0.5872 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.4063, allocations: 4.516 kB / 0.5872 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.4063, allocations: 8.719 kB / 0.5872 GB, free: 15.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.4064, allocations: 120.5 kB / 0.5874 GB, free: 15.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4064, allocations: 0 / 0.5874 GB, free: 15.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.4068, allocations: 38.53 kB / 0.5874 GB, free: 15.57 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.001163/0.4079, allocations: 0.8215 MB / 0.5882 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009942/0.4089, allocations: 186.1 kB / 0.5884 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4089, allocations: 4.062 kB / 0.5884 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.4094, allocations: 68.73 kB / 0.5885 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.4097, allocations: 16.48 kB / 0.5885 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.4139, allocations: 1.883 MB / 0.5903 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.4142, allocations: 0.6967 MB / 0.591 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.983e-05/0.4143, allocations: 18.59 kB / 0.591 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.4144, allocations: 37.38 kB / 0.591 GB, free: 12.66 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4144, allocations: 0 / 0.591 GB, free: 12.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.4354, allocations: 2.699 MB / 0.5937 GB, free: 12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.226/7.662, allocations: 15.53 kB / 0.5937 GB, free: 12 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)