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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 180.9 kB / 7.65 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 1.018/1.018, allocations: 133.5 MB / 141.6 MB, free: 2.863 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.474/1.474, 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.0009243/0.000924, allocations: 102.5 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.916e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4311, allocations: 82.31 MB / 0.6339 GB, free: 40.68 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.5695, allocations: 111.5 MB / 0.7428 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.5698, allocations: 79.95 kB / 0.7429 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009022/0.5788, allocations: 3.211 MB / 0.746 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5788, allocations: 3.938 kB / 0.7461 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.5789, allocations: 4 kB / 0.7461 GB, free: 7.836 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.0004416/0.5793, allocations: 386.2 kB / 0.7464 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5794, allocations: 8.031 kB / 0.7464 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007622/0.5801, allocations: 99.69 kB / 0.7465 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.5803, allocations: 171 kB / 0.7467 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.5803, allocations: 0 / 0.7467 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.5803, allocations: 8 kB / 0.7467 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001657/0.5805, allocations: 67.92 kB / 0.7468 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.5807, allocations: 101.5 kB / 0.7469 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.5807, allocations: 0 / 0.7469 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.5807, allocations: 0 / 0.7469 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.5807, allocations: 0 / 0.7469 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000936/0.5817, allocations: 420.9 kB / 0.7473 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.5818, allocations: 70.52 kB / 0.7473 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.5819, allocations: 28.97 kB / 0.7474 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.5819, allocations: 4 kB / 0.7474 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.5819, allocations: 38.5 kB / 0.7474 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.5819, allocations: 0 / 0.7474 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0002224/0.5822, allocations: 85.59 kB / 0.7475 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.5822, allocations: 51.41 kB / 0.7475 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.5823, allocations: 115 kB / 0.7476 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.5823, allocations: 33.7 kB / 0.7477 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.5824, allocations: 111.9 kB / 0.7478 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.5824, allocations: 11.75 kB / 0.7478 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.5824, allocations: 0 / 0.7478 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5825, allocations: 326.8 kB / 0.7481 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.675e-05/0.5826, allocations: 24 kB / 0.7481 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.5827, allocations: 23.98 kB / 0.7481 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.5827, allocations: 28.12 kB / 0.7482 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.5828, allocations: 0 / 0.7482 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/0.5829, allocations: 101.6 kB / 0.7483 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.583, allocations: 97.56 kB / 0.7484 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.583, allocations: 0 / 0.7484 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.583, allocations: 4 kB / 0.7484 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.5833, allocations: 47.89 kB / 0.7484 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.5833, allocations: 4 kB / 0.7484 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.5835, allocations: 23.97 kB / 0.7484 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.5836, allocations: 7.984 kB / 0.7484 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.5836, allocations: 9.562 kB / 0.7485 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.507e-05/0.5837, allocations: 24 kB / 0.7485 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-06/0.5837, allocations: 0 / 0.7485 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-06/0.5837, allocations: 0 / 0.7485 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.5838, allocations: 19.98 kB / 0.7485 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.5838, allocations: 3.953 kB / 0.7485 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.5838, allocations: 11.98 kB / 0.7485 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-06/0.5838, allocations: 64 / 0.7485 GB, free: 5.117 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 7.045e-05/0.5839, allocations: 110.8 kB / 0.7486 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001509/0.5841, allocations: 97.56 kB / 0.7487 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.5841, allocations: 7.906 kB / 0.7487 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.5842, allocations: 8.359 kB / 0.7487 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5842, allocations: 0 / 0.7487 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/0.5842, allocations: 4 kB / 0.7487 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5842, allocations: 3.938 kB / 0.7487 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.5846, allocations: 372.7 kB / 0.7491 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5846, allocations: 4 kB / 0.7491 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.5849, allocations: 35.95 kB / 0.7491 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5849, allocations: 3.953 kB / 0.7491 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.5849, allocations: 8.047 kB / 0.7491 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.5849, allocations: 4 kB / 0.7491 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5849, allocations: 3.938 kB / 0.7491 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.5851, allocations: 224.6 kB / 0.7494 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.5852, allocations: 97 kB / 0.7495 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.5852, allocations: 0 / 0.7495 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.5855, allocations: 27.97 kB / 0.7495 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.5855, allocations: 7.984 kB / 0.7495 GB, free: 4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.5855, allocations: 8 kB / 0.7495 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.5856, allocations: 95.27 kB / 0.7496 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5856, allocations: 3.938 kB / 0.7496 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002979/0.5859, allocations: 35.84 kB / 0.7496 GB, free: 3.859 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.0004701/0.5864, allocations: 0.8978 MB / 0.7505 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.5865, allocations: 79.91 kB / 0.7506 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5866, allocations: 0 / 0.7506 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.5866, allocations: 27.98 kB / 0.7506 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.5868, allocations: 15.94 kB / 0.7506 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/0.5876, allocations: 211.5 kB / 0.7508 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.5878, allocations: 0.7001 MB / 0.7515 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.5879, allocations: 15.98 kB / 0.7515 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.588, allocations: 31.41 kB / 0.7515 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of SimCode: time 3.31e-07/0.588, allocations: 3.938 kB / 0.7516 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.6073, allocations: 1.867 MB / 0.7534 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.6076, allocations: 137.1 kB / 0.7535 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.1, allocations: 4 kB / 0.7535 GB, free: 15.72 MB / 0.5417 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)