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.0009404/0.0009443, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7615/0.7615, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008563/0.0008561, allocations: 95.73 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.745e-05, allocations: 0 / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4384, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.5821, allocations: 111.5 MB / 0.7428 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5824, allocations: 79.95 kB / 0.7429 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00898/0.5914, allocations: 3.211 MB / 0.746 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5914, allocations: 0 / 0.746 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.5914, allocations: 4 kB / 0.746 GB, free: 7.863 MB / 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.0004444/0.5919, allocations: 392.1 kB / 0.7464 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.5919, allocations: 8.031 kB / 0.7464 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007425/0.5927, allocations: 99.7 kB / 0.7465 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.5928, allocations: 171 kB / 0.7467 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.5929, allocations: 4 kB / 0.7467 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.5929, allocations: 4 kB / 0.7467 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001616/0.5931, allocations: 63.98 kB / 0.7468 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.5932, allocations: 109.4 kB / 0.7469 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.5933, allocations: 0 / 0.7469 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.5933, allocations: 0 / 0.7469 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5933, allocations: 4 kB / 0.7469 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.5943, allocations: 416.9 kB / 0.7473 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.5945, allocations: 70.52 kB / 0.7473 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.5945, allocations: 36.97 kB / 0.7474 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.5946, allocations: 3.938 kB / 0.7474 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.5946, allocations: 30.56 kB / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.5946, allocations: 0 / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0002358/0.5949, allocations: 89.59 kB / 0.7475 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.5949, allocations: 55.41 kB / 0.7475 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.595, allocations: 114.7 kB / 0.7476 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.5951, allocations: 29.7 kB / 0.7477 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.5951, allocations: 111.9 kB / 0.7478 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.5951, allocations: 11.75 kB / 0.7478 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.5952, allocations: 4 kB / 0.7478 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5953, allocations: 318.8 kB / 0.7481 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.5953, allocations: 20 kB / 0.7481 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.105e-05/0.5954, allocations: 31.98 kB / 0.7481 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.5954, allocations: 16.16 kB / 0.7482 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.5954, allocations: 3.984 kB / 0.7482 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001572/0.5956, allocations: 101.6 kB / 0.7483 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.5957, allocations: 97.58 kB / 0.7484 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5957, allocations: 3.984 kB / 0.7484 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5957, allocations: 3.984 kB / 0.7484 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.596, allocations: 47.89 kB / 0.7484 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.596, allocations: 0 / 0.7484 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.5962, allocations: 23.97 kB / 0.7484 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.5963, allocations: 11.98 kB / 0.7484 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.5963, allocations: 9.25 kB / 0.7485 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.428e-05/0.5963, allocations: 23.98 kB / 0.7485 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.51e-07/0.5963, allocations: 0 / 0.7485 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-06/0.5964, allocations: 0 / 0.7485 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.5964, allocations: 23.98 kB / 0.7485 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.5965, allocations: 3.953 kB / 0.7485 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.5965, allocations: 16.05 kB / 0.7485 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-06/0.5965, allocations: 0 / 0.7485 GB, free: 5.129 MB / 0.5261 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 () * 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 8.056e-05/0.5966, allocations: 112.9 kB / 0.7486 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001473/0.5968, allocations: 85.56 kB / 0.7487 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.5968, allocations: 7.906 kB / 0.7487 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.5969, allocations: 12.36 kB / 0.7487 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5969, allocations: 7.938 kB / 0.7487 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5969, allocations: 3.938 kB / 0.7487 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.5969, allocations: 0 / 0.7487 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.5973, allocations: 368.7 kB / 0.7491 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5973, allocations: 0 / 0.7491 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.5976, allocations: 39.94 kB / 0.7491 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.5976, allocations: 4.016 kB / 0.7491 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5976, allocations: 8 kB / 0.7491 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.5976, allocations: 0 / 0.7491 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.5976, allocations: 7.922 kB / 0.7491 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.5978, allocations: 220.5 kB / 0.7494 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.5979, allocations: 97 kB / 0.7494 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.5979, allocations: 4 kB / 0.7495 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.5982, allocations: 23.97 kB / 0.7495 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.5982, allocations: 7.984 kB / 0.7495 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.5983, allocations: 4 kB / 0.7495 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.214e-05/0.5983, allocations: 99.27 kB / 0.7496 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5983, allocations: 0 / 0.7496 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003097/0.5986, allocations: 35.84 kB / 0.7496 GB, free: 3.883 MB / 0.5261 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 () * 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.0005065/0.5991, allocations: 0.8939 MB / 0.7505 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.5994, allocations: 83.91 kB / 0.7506 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5994, allocations: 4 kB / 0.7506 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.5994, allocations: 27.98 kB / 0.7506 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.5996, allocations: 11.94 kB / 0.7506 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000784/0.6004, allocations: 211.5 kB / 0.7508 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.6007, allocations: 0.7001 MB / 0.7515 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.6008, allocations: 15.98 kB / 0.7515 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.6009, allocations: 35.34 kB / 0.7515 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.6009, allocations: 0 / 0.7515 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.6209, allocations: 1.874 MB / 0.7534 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.6212, allocations: 132.3 kB / 0.7535 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.237, allocations: 8.031 kB / 0.7535 GB, free: 15.74 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)