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.001623/0.001623, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002681/0.002681, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.854/2.854, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.919/1.919, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006729/0.0006734, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3799, allocations: 82.3 MB / 0.5873 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003297/0.3833, allocations: 1.288 MB / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3844, allocations: 294.5 kB / 0.5888 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.3845, allocations: 0 / 0.5888 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.3846, allocations: 3.984 kB / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.3847, allocations: 23.89 kB / 0.5888 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.3852, allocations: 55.7 kB / 0.5889 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3854, allocations: 63.86 kB / 0.589 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.3856, allocations: 27.97 kB / 0.589 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.3858, allocations: 35.84 kB / 0.589 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3859, allocations: 35.84 kB / 0.5891 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.386, allocations: 4 kB / 0.5891 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3861, allocations: 23.97 kB / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.3862, allocations: 11.92 kB / 0.5891 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.314e-05/0.3863, allocations: 41.7 kB / 0.5891 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3865, allocations: 64.09 kB / 0.5892 GB, free: 1.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3865, allocations: 3.938 kB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.095e-06/0.3865, allocations: 0 / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.3866, allocations: 3.938 kB / 0.5892 GB, free: 1.078 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.001186/0.3878, allocations: 391 kB / 0.5896 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.85e-05/0.3879, allocations: 8.031 kB / 0.5896 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.702e-05/0.388, allocations: 42.56 kB / 0.5896 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.3895, allocations: 135.7 kB / 0.5898 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.3898, allocations: 182.3 kB / 0.5899 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.3898, allocations: 0 / 0.5899 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.3899, allocations: 12 kB / 0.5899 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/0.3908, allocations: 165.4 kB / 0.5901 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3908, allocations: 0 / 0.5901 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.3909, allocations: 7.984 kB / 0.5901 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3909, allocations: 8 kB / 0.5901 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.392, allocations: 167.8 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.3937, allocations: 456.3 kB / 0.5907 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3947, allocations: 158.4 kB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.3948, allocations: 0 / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/0.3949, allocations: 42.69 kB / 0.5909 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.574e-06/0.3949, allocations: 0 / 0.5909 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001791/0.3967, allocations: 273.3 kB / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.3968, allocations: 55.41 kB / 0.5912 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.3971, allocations: 161.4 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.3972, allocations: 29.7 kB / 0.5914 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.3974, allocations: 104 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.3974, allocations: 11.8 kB / 0.5915 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.3975, allocations: 0 / 0.5915 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003341/0.3978, allocations: 322.8 kB / 0.5918 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.3985, allocations: 83.92 kB / 0.5919 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/0.3991, allocations: 83.91 kB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.3998, allocations: 71.94 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.3998, allocations: 3.953 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001323/0.4011, allocations: 213.4 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.4013, allocations: 100.9 kB / 0.5923 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4013, allocations: 0 / 0.5923 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.4014, allocations: 4 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.4018, allocations: 39.95 kB / 0.5924 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4018, allocations: 0 / 0.5924 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.4021, allocations: 31.88 kB / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.4022, allocations: 11.98 kB / 0.5924 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4022, allocations: 4 kB / 0.5924 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003608/0.4026, allocations: 71.94 kB / 0.5925 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4026, allocations: 7.891 kB / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-06/0.4026, allocations: 0 / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.4028, allocations: 23.92 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.4028, allocations: 0 / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.4029, allocations: 23.83 kB / 0.5926 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.403, allocations: 0 / 0.5926 GB, free: 13.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.4032, allocations: 193.1 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.4033, allocations: 7.906 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.721e-05/0.4034, allocations: 16.27 kB / 0.5928 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.4034, allocations: 4 kB / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4035, allocations: 4 kB / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4035, allocations: 0 / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.4053, allocations: 500 kB / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4053, allocations: 4 kB / 0.5933 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.4056, allocations: 40.02 kB / 0.5933 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.4056, allocations: 0 / 0.5933 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.4057, allocations: 7.922 kB / 0.5933 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4057, allocations: 4 kB / 0.5933 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4057, allocations: 0 / 0.5933 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.407, allocations: 336.7 kB / 0.5936 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.4071, allocations: 97 kB / 0.5937 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.4072, allocations: 3.984 kB / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.4075, allocations: 31.97 kB / 0.5937 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.4076, allocations: 4 kB / 0.5938 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.4076, allocations: 7.984 kB / 0.5938 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001598/0.4078, allocations: 126.8 kB / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4078, allocations: 0 / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004701/0.4083, allocations: 27.91 kB / 0.5939 GB, free: 11.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001834/0.4101, allocations: 0.9993 MB / 0.5949 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.4114, allocations: 203.8 kB / 0.5951 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.4114, allocations: 4 kB / 0.5951 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.412, allocations: 91.97 kB / 0.5952 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.4124, allocations: 11.95 kB / 0.5952 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005984/0.4184, allocations: 0.9078 MB / 0.5961 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.4189, allocations: 0.6965 MB / 0.5967 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.4191, allocations: 15.98 kB / 0.5968 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.4193, allocations: 35.41 kB / 0.5968 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of SimCode: time 2.335e-06/0.4193, allocations: 0 / 0.5968 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1256/0.545, allocations: 2.365 MB / 0.5991 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005535/0.5456, allocations: 184.6 kB / 0.5993 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.627/4.173, allocations: 3.938 kB / 0.5993 GB, free: 6.371 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/linux/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) Environment - environmentSimulation: