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.001826/0.001827, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7134/0.7134, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.388/1.388, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 104.3 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.729e-05, allocations: 3.531 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1563, allocations: 82.3 MB / 0.6405 GB, free: 7.703 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5633/0.7196, allocations: 112.2 MB / 0.7501 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.7199, allocations: 81.05 kB / 0.7501 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009023/0.7289, allocations: 3.229 MB / 0.7533 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.064e-06/0.729, allocations: 3.875 kB / 0.7533 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.729, allocations: 0 / 0.7533 GB, free: 27.52 MB / 0.5105 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.0005909/0.7296, allocations: 394.2 kB / 0.7537 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/0.7297, allocations: 7.844 kB / 0.7537 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.006e-05/0.7298, allocations: 36.97 kB / 0.7537 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/0.7306, allocations: 98.5 kB / 0.7538 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.7308, allocations: 174.9 kB / 0.754 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.7309, allocations: 10.56 kB / 0.754 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.7309, allocations: 6.781 kB / 0.754 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.7312, allocations: 109.1 kB / 0.7541 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.7312, allocations: 0 / 0.7541 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.7313, allocations: 2.938 kB / 0.7541 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.7313, allocations: 3.812 kB / 0.7541 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.7314, allocations: 64.25 kB / 0.7542 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.7326, allocations: 466.4 kB / 0.7546 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.7328, allocations: 74.81 kB / 0.7547 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/0.7329, allocations: 30.8 kB / 0.7547 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.7329, allocations: 3.938 kB / 0.7547 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.733, allocations: 33.42 kB / 0.7547 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/0.733, allocations: 0 / 0.7547 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.00031/0.7333, allocations: 96.25 kB / 0.7548 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.7334, allocations: 55.22 kB / 0.7549 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.7336, allocations: 148.2 kB / 0.755 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.7336, allocations: 25.7 kB / 0.7551 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.7337, allocations: 101.9 kB / 0.7551 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.7338, allocations: 11.66 kB / 0.7552 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.7338, allocations: 3.125 kB / 0.7552 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.734, allocations: 322.8 kB / 0.7555 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/0.734, allocations: 32.91 kB / 0.7555 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.7341, allocations: 31.08 kB / 0.7555 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.527e-05/0.7342, allocations: 23.97 kB / 0.7556 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7342, allocations: 0 / 0.7556 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002058/0.7344, allocations: 110.1 kB / 0.7557 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/0.7345, allocations: 92.78 kB / 0.7557 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.7345, allocations: 0 / 0.7557 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.7345, allocations: 3.844 kB / 0.7558 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.7348, allocations: 47.83 kB / 0.7558 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.7348, allocations: 0 / 0.7558 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.7351, allocations: 38.98 kB / 0.7558 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.7351, allocations: 9.766 kB / 0.7558 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.7351, allocations: 3.969 kB / 0.7558 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.249e-05/0.7352, allocations: 35.2 kB / 0.7559 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.7352, allocations: 0 / 0.7559 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/0.7352, allocations: 3.953 kB / 0.7559 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.7353, allocations: 20.77 kB / 0.7559 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.7353, allocations: 0 / 0.7559 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.7354, allocations: 18.52 kB / 0.7559 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.7354, allocations: 0 / 0.7559 GB, free: 25.66 MB / 0.5105 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 0.0001158/0.7356, allocations: 108.3 kB / 0.756 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.7356, allocations: 15.62 kB / 0.756 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.7357, allocations: 13.23 kB / 0.7561 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.7357, allocations: 3.953 kB / 0.7561 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.7357, allocations: 4 kB / 0.7561 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7357, allocations: 3.938 kB / 0.7561 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.7363, allocations: 391 kB / 0.7564 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.7363, allocations: 2.203 kB / 0.7564 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.7366, allocations: 56.17 kB / 0.7565 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.7366, allocations: 3.938 kB / 0.7565 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.7366, allocations: 3.844 kB / 0.7565 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.7366, allocations: 2.672 kB / 0.7565 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7367, allocations: 0 / 0.7565 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.737, allocations: 230.3 kB / 0.7567 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.7372, allocations: 97.47 kB / 0.7568 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.7372, allocations: 3.781 kB / 0.7568 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.7375, allocations: 30.28 kB / 0.7568 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.7375, allocations: 3.844 kB / 0.7569 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.7376, allocations: 6.656 kB / 0.7569 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001178/0.7377, allocations: 117.8 kB / 0.757 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7377, allocations: 0 / 0.757 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003268/0.738, allocations: 33.78 kB / 0.757 GB, free: 24.82 MB / 0.5105 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.0008377/0.7389, allocations: 0.9035 MB / 0.7579 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002748/0.7392, allocations: 84.5 kB / 0.758 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7392, allocations: 0 / 0.758 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.7393, allocations: 37.45 kB / 0.758 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.7396, allocations: 13.31 kB / 0.758 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.7407, allocations: 216.9 kB / 0.7582 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.7413, allocations: 0.6964 MB / 0.7589 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.7415, allocations: 26.09 kB / 0.7589 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.7416, allocations: 35.36 kB / 0.759 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.7416, allocations: 0 / 0.759 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.759, allocations: 2.48 MB / 0.7614 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.7593, allocations: 165.3 kB / 0.7615 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.463, allocations: 0 / 0.7615 GB, free: 21.94 MB / 0.5105 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)