Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6806/0.6806, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009586/0.0009587, allocations: 190.3 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0008259/0.0008261, allocations: 92.47 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 281.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.43e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3386, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.4509, allocations: 109.5 MB / 0.8713 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4512, allocations: 84.38 kB / 0.8714 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008787/0.46, allocations: 3.23 MB / 0.8745 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.512e-06/0.46, allocations: 0 / 0.8745 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.4601, allocations: 4 kB / 0.8745 GB, free: 11.75 MB / 0.5417 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.0004743/0.4605, allocations: 382.2 kB / 0.8749 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4606, allocations: 8.031 kB / 0.8749 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.092e-05/0.4607, allocations: 46.48 kB / 0.875 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007372/0.4614, allocations: 91.8 kB / 0.875 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.4616, allocations: 179 kB / 0.8752 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.4616, allocations: 3.953 kB / 0.8752 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.4616, allocations: 16 kB / 0.8752 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.4618, allocations: 102.9 kB / 0.8753 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4619, allocations: 0 / 0.8753 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.4619, allocations: 11.98 kB / 0.8753 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4619, allocations: 3.938 kB / 0.8754 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.462, allocations: 63.98 kB / 0.8754 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.4631, allocations: 456.4 kB / 0.8758 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.4633, allocations: 70.56 kB / 0.8759 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.4633, allocations: 36.92 kB / 0.8759 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.4634, allocations: 4 kB / 0.876 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.4634, allocations: 30.56 kB / 0.876 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 2.304e-06/0.4634, allocations: 0 / 0.876 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0002946/0.4637, allocations: 97.5 kB / 0.8761 GB, free: 10 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.4638, allocations: 51.41 kB / 0.8761 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.464, allocations: 151.8 kB / 0.8763 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.464, allocations: 29.64 kB / 0.8763 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.4641, allocations: 112 kB / 0.8764 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.4641, allocations: 15.72 kB / 0.8764 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.4642, allocations: 0 / 0.8764 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4644, allocations: 322.8 kB / 0.8767 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.4644, allocations: 27.98 kB / 0.8768 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-05/0.4645, allocations: 29.8 kB / 0.8768 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.368e-05/0.4646, allocations: 19.98 kB / 0.8768 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4646, allocations: 4 kB / 0.8768 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002125/0.4648, allocations: 101.5 kB / 0.8769 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.4649, allocations: 104.9 kB / 0.877 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4649, allocations: 64 / 0.877 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.4649, allocations: 4 kB / 0.877 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.4652, allocations: 51.88 kB / 0.8771 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.4653, allocations: 1.875 kB / 0.8771 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.4655, allocations: 31.97 kB / 0.8771 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.4655, allocations: 4 kB / 0.8771 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4656, allocations: 4 kB / 0.8771 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.542e-05/0.4656, allocations: 35.97 kB / 0.8771 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.4657, allocations: 0 / 0.8771 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.732e-06/0.4657, allocations: 4 kB / 0.8771 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.4658, allocations: 19.92 kB / 0.8772 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4658, allocations: 3.953 kB / 0.8772 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.4659, allocations: 19.84 kB / 0.8772 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4659, allocations: 11.98 kB / 0.8772 GB, free: 8.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 () * 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.597e-05/0.466, allocations: 101 kB / 0.8773 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.466, allocations: 7.906 kB / 0.8773 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.4661, allocations: 12.09 kB / 0.8773 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4661, allocations: 0 / 0.8773 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4661, allocations: 0 / 0.8773 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4661, allocations: 3.953 kB / 0.8773 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.4666, allocations: 400.1 kB / 0.8777 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4666, allocations: 0 / 0.8777 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.4669, allocations: 39.94 kB / 0.8777 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.4669, allocations: 12 kB / 0.8777 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.4669, allocations: 7.953 kB / 0.8777 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.467, allocations: 3.938 kB / 0.8777 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.467, allocations: 4 kB / 0.8778 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.4672, allocations: 224.6 kB / 0.878 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.4673, allocations: 101 kB / 0.8781 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.4674, allocations: 4 kB / 0.8781 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.4676, allocations: 23.97 kB / 0.8781 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.4677, allocations: 11.98 kB / 0.8781 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.4677, allocations: 12.06 kB / 0.8781 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001013/0.4678, allocations: 122 kB / 0.8782 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4678, allocations: 0 / 0.8782 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003036/0.4681, allocations: 28 kB / 0.8783 GB, free: 7.605 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 () * 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.0006438/0.4688, allocations: 0.9017 MB / 0.8791 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.469, allocations: 84.48 kB / 0.8792 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.469, allocations: 0 / 0.8792 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.4691, allocations: 39.91 kB / 0.8793 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.4694, allocations: 7.938 kB / 0.8793 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008544/0.4702, allocations: 216.5 kB / 0.8795 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.4705, allocations: 0.7008 MB / 0.8802 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.4706, allocations: 19.98 kB / 0.8802 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.4707, allocations: 31.41 kB / 0.8802 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.4707, allocations: 4 kB / 0.8802 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.4848, allocations: 2.506 MB / 0.8827 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.4851, allocations: 170.9 kB / 0.8828 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/1.93, allocations: 0 / 0.8828 GB, free: 2.961 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)