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.0008453/0.0008451, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001108/0.001108, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.75/0.75, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004294, allocations: 12.56 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4463, allocations: 81.57 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001721/0.4481, allocations: 1.301 MB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005918/0.4487, allocations: 293.4 kB / 0.5847 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.4488, allocations: 2.031 kB / 0.5847 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.4488, allocations: 5.812 kB / 0.5847 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.4489, allocations: 19.8 kB / 0.5847 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.4492, allocations: 58.44 kB / 0.5848 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.4494, allocations: 88.34 kB / 0.5849 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.4495, allocations: 27.88 kB / 0.5849 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.4496, allocations: 30.58 kB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.4497, allocations: 34.14 kB / 0.585 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.4497, allocations: 3.438 kB / 0.585 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.489e-05/0.4498, allocations: 22.64 kB / 0.585 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.4498, allocations: 18.03 kB / 0.585 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.4499, allocations: 38.67 kB / 0.585 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.45, allocations: 73.53 kB / 0.5851 GB, free: 2.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.45, allocations: 0 / 0.5851 GB, free: 2.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.45, allocations: 0 / 0.5851 GB, free: 2.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.45, allocations: 1.156 kB / 0.5851 GB, free: 2.648 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.0004721/0.4505, allocations: 394.9 kB / 0.5855 GB, free: 2.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4506, allocations: 11.97 kB / 0.5855 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.4506, allocations: 43.92 kB / 0.5855 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.4516, allocations: 140 kB / 0.5857 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.4517, allocations: 175.4 kB / 0.5858 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.4517, allocations: 11.91 kB / 0.5858 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.4518, allocations: 4.719 kB / 0.5859 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.4523, allocations: 171.4 kB / 0.586 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4523, allocations: 0.8125 kB / 0.586 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.4523, allocations: 1.797 kB / 0.586 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.4524, allocations: 1.188 kB / 0.586 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.4531, allocations: 176 kB / 0.5862 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009565/0.454, allocations: 459.7 kB / 0.5866 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.4547, allocations: 156.2 kB / 0.5868 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.4551, allocations: 91.02 kB / 0.5869 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.4551, allocations: 0 / 0.5869 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.4551, allocations: 37.22 kB / 0.5869 GB, free: 1.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4552, allocations: 0 / 0.5869 GB, free: 1.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001121/0.4563, allocations: 274.2 kB / 0.5872 GB, free: 1.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.4563, allocations: 53.53 kB / 0.5872 GB, free: 1.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.4565, allocations: 159.4 kB / 0.5874 GB, free: 1.137 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.4565, allocations: 25.7 kB / 0.5874 GB, free: 1.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.4565, allocations: 99.81 kB / 0.5875 GB, free: 1.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.4566, allocations: 19.91 kB / 0.5875 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/0.4566, allocations: 0 / 0.5875 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.4566, allocations: 328 kB / 0.5878 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.457, allocations: 85.66 kB / 0.5879 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.4573, allocations: 77.64 kB / 0.588 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.4577, allocations: 76.61 kB / 0.588 GB, free: 0.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4577, allocations: 0 / 0.588 GB, free: 0.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007364/0.4584, allocations: 210.5 kB / 0.5882 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.4585, allocations: 91.66 kB / 0.5883 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4585, allocations: 0.6094 kB / 0.5883 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4585, allocations: 4 kB / 0.5883 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.4587, allocations: 44.28 kB / 0.5884 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4588, allocations: 1.891 kB / 0.5884 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.459, allocations: 41.92 kB / 0.5884 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.459, allocations: 8.812 kB / 0.5884 GB, free: 448 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.459, allocations: 4.625 kB / 0.5884 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002093/0.4593, allocations: 76.97 kB / 0.5885 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.4593, allocations: 0 / 0.5885 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.4593, allocations: 1.953 kB / 0.5885 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.4594, allocations: 16.95 kB / 0.5885 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.4594, allocations: 5.797 kB / 0.5885 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.4594, allocations: 17.91 kB / 0.5885 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.4594, allocations: 0.7188 kB / 0.5885 GB, free: 412 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.855e-05/0.4595, allocations: 194.2 kB / 0.5887 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.4596, allocations: 16.83 kB / 0.5887 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.4596, allocations: 12.42 kB / 0.5888 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4596, allocations: 1.25 kB / 0.5888 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4596, allocations: 0.9375 kB / 0.5888 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4596, allocations: 0.9375 kB / 0.5888 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.4607, allocations: 0.4889 MB / 0.5892 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4607, allocations: 5.375 kB / 0.5892 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.4609, allocations: 37.52 kB / 0.5893 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4609, allocations: 1.281 kB / 0.5893 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.461, allocations: 7.828 kB / 0.5893 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.461, allocations: 5.922 kB / 0.5893 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.461, allocations: 2.094 kB / 0.5893 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008014/0.4618, allocations: 310.5 kB / 0.5896 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.4619, allocations: 99.98 kB / 0.5897 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.4619, allocations: 1.031 kB / 0.5897 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.4622, allocations: 29.62 kB / 0.5897 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.4622, allocations: 8.703 kB / 0.5897 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.4623, allocations: 8.562 kB / 0.5897 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.4624, allocations: 120.1 kB / 0.5898 GB, free: 15.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4624, allocations: 0 / 0.5898 GB, free: 15.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000366/0.4628, allocations: 38.22 kB / 0.5899 GB, free: 15.41 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 (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.001149/0.4639, allocations: 0.8353 MB / 0.5907 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008638/0.4648, allocations: 216 kB / 0.5909 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4648, allocations: 1.375 kB / 0.5909 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.4652, allocations: 85.56 kB / 0.591 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.4655, allocations: 8.438 kB / 0.591 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.4681, allocations: 0.9184 MB / 0.5919 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.4684, allocations: 0.6945 MB / 0.5926 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.4685, allocations: 14.34 kB / 0.5926 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.4686, allocations: 32.42 kB / 0.5926 GB, free: 13.39 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4686, allocations: 4 kB / 0.5926 GB, free: 13.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.4828, allocations: 2.381 MB / 0.5949 GB, free: 13.04 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.483, allocations: 180.5 kB / 0.5951 GB, free: 12.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.192, allocations: 0 / 0.5951 GB, free: 12.81 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/linux/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) Environment - environmentSimulation: