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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00737/0.00737, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7839/0.7839, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.2 MB / 406.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009528/0.0009529, allocations: 106.7 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003595, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.483, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.6321, allocations: 112.2 MB / 0.7591 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.6324, allocations: 75.95 kB / 0.7592 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009284/0.6417, allocations: 3.242 MB / 0.7624 GB, free: 448 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6417, allocations: 0 / 0.7624 GB, free: 448 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.6417, allocations: 0 / 0.7624 GB, free: 448 kB / 0.5261 GB 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.0005415/0.6423, allocations: 395 kB / 0.7628 GB, free: 4 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.218e-05/0.6424, allocations: 12.02 kB / 0.7628 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.6424, allocations: 38.56 kB / 0.7628 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008722/0.6433, allocations: 95.7 kB / 0.7629 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.6435, allocations: 182.9 kB / 0.7631 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.6435, allocations: 4 kB / 0.7631 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.6435, allocations: 12 kB / 0.7631 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005597/0.6441, allocations: 162.5 kB / 0.7632 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.6441, allocations: 4 kB / 0.7633 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.6441, allocations: 7.938 kB / 0.7633 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.6442, allocations: 0 / 0.7633 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.645, allocations: 175.8 kB / 0.7634 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.6463, allocations: 460.4 kB / 0.7639 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008375/0.6471, allocations: 158.4 kB / 0.764 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.6472, allocations: 0 / 0.764 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.6472, allocations: 42.62 kB / 0.7641 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 2.355e-06/0.6472, allocations: 0 / 0.7641 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.001278/0.6485, allocations: 285.3 kB / 0.7643 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.6486, allocations: 51.41 kB / 0.7644 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.6487, allocations: 147 kB / 0.7645 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.6488, allocations: 25.7 kB / 0.7645 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.512e-05/0.6489, allocations: 100 kB / 0.7646 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.6489, allocations: 19.73 kB / 0.7647 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.6489, allocations: 4 kB / 0.7647 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.6491, allocations: 318.8 kB / 0.765 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.6495, allocations: 83.92 kB / 0.765 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.6498, allocations: 91.83 kB / 0.7651 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.6502, allocations: 71.94 kB / 0.7652 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6502, allocations: 0 / 0.7652 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008578/0.6511, allocations: 213.4 kB / 0.7654 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.497e-05/0.6512, allocations: 97 kB / 0.7655 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.6512, allocations: 4 kB / 0.7655 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.6512, allocations: 0 / 0.7655 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.6516, allocations: 43.94 kB / 0.7655 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6516, allocations: 0 / 0.7655 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.6518, allocations: 31.88 kB / 0.7656 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.6519, allocations: 4 kB / 0.7656 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.6519, allocations: 4 kB / 0.7656 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002082/0.6521, allocations: 75.89 kB / 0.7657 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/0.6521, allocations: 0 / 0.7657 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.6521, allocations: 3.953 kB / 0.7657 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.6522, allocations: 19.98 kB / 0.7657 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-06/0.6522, allocations: 4 kB / 0.7657 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.6523, allocations: 12.55 kB / 0.7657 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.6523, allocations: 4 kB / 0.7657 GB, free: 12.82 MB / 0.5417 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.0001722/0.6525, allocations: 195.4 kB / 0.7659 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.6525, allocations: 15.75 kB / 0.7659 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.6526, allocations: 16.3 kB / 0.7659 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.6526, allocations: 3.953 kB / 0.7659 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6526, allocations: 0 / 0.7659 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.6526, allocations: 0 / 0.7659 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.6539, allocations: 0.4999 MB / 0.7664 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6539, allocations: 3.984 kB / 0.7664 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.6542, allocations: 39.91 kB / 0.7664 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.6542, allocations: 4 kB / 0.7665 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.6542, allocations: 4.062 kB / 0.7665 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6542, allocations: 3.984 kB / 0.7665 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6542, allocations: 4 kB / 0.7665 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008967/0.6551, allocations: 332.7 kB / 0.7668 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.6552, allocations: 101 kB / 0.7669 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.6552, allocations: 0 / 0.7669 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.6555, allocations: 35.97 kB / 0.7669 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.6556, allocations: 3.984 kB / 0.7669 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.6556, allocations: 4 kB / 0.7669 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.405e-05/0.6557, allocations: 121.9 kB / 0.767 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6557, allocations: 0 / 0.767 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000312/0.656, allocations: 39.84 kB / 0.7671 GB, free: 11.29 MB / 0.5417 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.001296/0.6573, allocations: 1.007 MB / 0.7681 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009107/0.6583, allocations: 207.8 kB / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6583, allocations: 0 / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.6587, allocations: 84.05 kB / 0.7683 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.6589, allocations: 17.34 kB / 0.7684 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.6616, allocations: 0.9199 MB / 0.7692 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.6619, allocations: 0.7004 MB / 0.7699 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.986e-05/0.662, allocations: 12 kB / 0.7699 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.6621, allocations: 35.41 kB / 0.77 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of SimCode: time 7.72e-07/0.6621, allocations: 0 / 0.77 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.6754, allocations: 2.383 MB / 0.7723 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.6756, allocations: 178.2 kB / 0.7725 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.377, allocations: 0 / 0.7725 GB, free: 5.691 MB / 0.5417 GB (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)