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.01697/0.01697, allocations: 170.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.245/1.245, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.138/3.138, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.002057/0.002057, allocations: 91.92 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000728/0.000728, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9143/0.9151, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2382/1.153, allocations: 112.2 MB / 0.7591 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004059/1.154, allocations: 79.95 kB / 0.7592 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01331/1.167, allocations: 3.234 MB / 0.7624 GB, free: 452 kB / 0.5261 GB Notification: Performance of FrontEnd: time 4.689e-06/1.167, allocations: 0 / 0.7624 GB, free: 452 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.795e-05/1.167, allocations: 4 kB / 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.0008185/1.168, allocations: 407 kB / 0.7628 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.278e-05/1.168, allocations: 8.031 kB / 0.7628 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/1.168, allocations: 42.5 kB / 0.7628 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/1.17, allocations: 91.7 kB / 0.7629 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/1.17, allocations: 178.4 kB / 0.7631 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/1.17, allocations: 12 kB / 0.7631 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/1.17, allocations: 4 kB / 0.7631 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/1.171, allocations: 170.5 kB / 0.7633 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/1.171, allocations: 0 / 0.7633 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/1.171, allocations: 4 kB / 0.7633 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/1.171, allocations: 0 / 0.7633 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/1.172, allocations: 175.8 kB / 0.7634 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/1.174, allocations: 464.4 kB / 0.7639 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009743/1.175, allocations: 154.5 kB / 0.764 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/1.175, allocations: 12.06 kB / 0.764 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/1.175, allocations: 34.55 kB / 0.7641 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 2.184e-06/1.175, allocations: 0 / 0.7641 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.001725/1.177, allocations: 281.5 kB / 0.7643 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/1.177, allocations: 51.41 kB / 0.7644 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/1.177, allocations: 142.4 kB / 0.7645 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/1.177, allocations: 29.7 kB / 0.7645 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/1.177, allocations: 100 kB / 0.7646 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/1.177, allocations: 15.75 kB / 0.7647 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/1.177, allocations: 4 kB / 0.7647 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.177, allocations: 322.8 kB / 0.765 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/1.178, allocations: 79.92 kB / 0.765 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/1.178, allocations: 87.86 kB / 0.7651 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/1.179, allocations: 72.09 kB / 0.7652 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.179, allocations: 0 / 0.7652 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001083/1.18, allocations: 221.4 kB / 0.7654 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/1.18, allocations: 93 kB / 0.7655 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.18, allocations: 4.062 kB / 0.7655 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/1.18, allocations: 8 kB / 0.7655 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/1.181, allocations: 35.95 kB / 0.7655 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.181, allocations: 4 kB / 0.7655 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/1.181, allocations: 31.88 kB / 0.7656 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/1.181, allocations: 11.98 kB / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.181, allocations: 5.25 kB / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000286/1.181, allocations: 71.89 kB / 0.7657 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/1.181, allocations: 0 / 0.7657 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/1.181, allocations: 7.953 kB / 0.7657 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/1.182, allocations: 15.98 kB / 0.7657 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/1.182, allocations: 0 / 0.7657 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/1.182, allocations: 12.56 kB / 0.7657 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/1.182, allocations: 8 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.0002761/1.182, allocations: 193.1 kB / 0.7659 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/1.182, allocations: 15.75 kB / 0.7659 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.92e-05/1.182, allocations: 8.312 kB / 0.7659 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.182, allocations: 7.953 kB / 0.7659 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.182, allocations: 3.938 kB / 0.7659 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.182, allocations: 7.922 kB / 0.7659 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/1.184, allocations: 0.4922 MB / 0.7664 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.184, allocations: 0 / 0.7664 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/1.184, allocations: 39.91 kB / 0.7664 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/1.184, allocations: 3.984 kB / 0.7665 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/1.184, allocations: 8.062 kB / 0.7665 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/1.184, allocations: 0 / 0.7665 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.184, allocations: 0 / 0.7665 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/1.185, allocations: 336.3 kB / 0.7668 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/1.185, allocations: 105 kB / 0.7669 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/1.185, allocations: 0 / 0.7669 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/1.186, allocations: 27.97 kB / 0.7669 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/1.186, allocations: 4 kB / 0.7669 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/1.186, allocations: 12.05 kB / 0.7669 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001323/1.186, allocations: 122.3 kB / 0.767 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/1.186, allocations: 0 / 0.767 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004982/1.187, 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.001621/1.188, allocations: 1.003 MB / 0.7681 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001218/1.189, allocations: 211.8 kB / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.189, allocations: 0 / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005127/1.19, allocations: 88.05 kB / 0.7683 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/1.19, allocations: 7.953 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.003678/1.194, 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.0003487/1.194, allocations: 0.7004 MB / 0.7699 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000141/1.195, allocations: 15.98 kB / 0.7699 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/1.195, allocations: 31.41 kB / 0.77 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/1.195, allocations: 4 kB / 0.77 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/1.215, allocations: 2.394 MB / 0.7723 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003436/1.215, allocations: 176.5 kB / 0.7725 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/3.902, allocations: 4.062 kB / 0.7725 GB, free: 5.684 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)