Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.823/2.823, allocations: 287.3 MB / 302.3 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001608, allocations: 181.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.285/2.285, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 104.8 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007249/0.0007249, allocations: 13.36 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2423, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001874/0.2443, allocations: 1.293 MB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006588/0.245, allocations: 296.2 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.245, allocations: 0 / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.2451, allocations: 7.922 kB / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.474e-05/0.2452, allocations: 19.97 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.2455, allocations: 51.88 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.2456, allocations: 59.92 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2458, allocations: 27.91 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.2459, allocations: 31.86 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.246, allocations: 39.84 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.246, allocations: 0 / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.2461, allocations: 23.97 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.2461, allocations: 15.92 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.2462, allocations: 41.64 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.2463, allocations: 68.08 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2463, allocations: 0 / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2463, allocations: 0 / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2463, allocations: 0 / 0.9802 GB, free: 26.29 MB / 0.6198 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.0005856/0.2469, allocations: 391.1 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.247, allocations: 12.02 kB / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.247, allocations: 42.55 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.2489, allocations: 139.6 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.2491, allocations: 180.3 kB / 0.9809 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.2491, allocations: 7.938 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.2492, allocations: 16 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009556/0.2501, allocations: 163.2 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2502, allocations: 0 / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.2502, allocations: 4 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2502, allocations: 0 / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.2516, allocations: 171.8 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.2531, allocations: 452.3 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.2545, allocations: 162.4 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.2546, allocations: 4.062 kB / 0.9819 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.2546, allocations: 38.56 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.395e-06/0.2546, allocations: 4 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.002259/0.2569, allocations: 277.4 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.2569, allocations: 51.41 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.2571, allocations: 156.9 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2571, allocations: 25.7 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.2572, allocations: 104 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.2572, allocations: 11.75 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.2573, allocations: 4 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.2573, allocations: 322.8 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007435/0.2581, allocations: 83.86 kB / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.2588, allocations: 83.92 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006997/0.2595, allocations: 79.89 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2595, allocations: 0 / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001523/0.2611, allocations: 213.6 kB / 0.9833 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/0.2612, allocations: 93 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2612, allocations: 0 / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.2612, allocations: 256 / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/0.2617, allocations: 43.95 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2617, allocations: 4 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.2622, allocations: 39.88 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.2622, allocations: 7.984 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.2622, allocations: 4 kB / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003467/0.2626, allocations: 71.84 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.2626, allocations: 0 / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-06/0.2626, allocations: 7.984 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.2628, allocations: 19.98 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.2628, allocations: 0 / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.2629, allocations: 11.94 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.2629, allocations: 0 / 0.9836 GB, free: 22.63 MB / 0.6198 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.0001109/0.263, allocations: 193.1 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.2631, allocations: 19.77 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.2632, allocations: 16.25 kB / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2632, allocations: 3.938 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2632, allocations: 0 / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2632, allocations: 7.938 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.265, allocations: 500 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.2651, allocations: 64 / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.2655, allocations: 43.95 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2655, allocations: 0 / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.2656, allocations: 3.984 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2656, allocations: 4 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2656, allocations: 0 / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.2671, allocations: 340.3 kB / 0.9846 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.2673, allocations: 93 kB / 0.9847 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.2673, allocations: 3.984 kB / 0.9847 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.2678, allocations: 31.97 kB / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.2678, allocations: 4 kB / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2679, allocations: 7.984 kB / 0.9848 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001032/0.268, allocations: 119.8 kB / 0.9849 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.268, allocations: 0 / 0.9849 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004386/0.2684, allocations: 43.86 kB / 0.9849 GB, free: 21.1 MB / 0.6198 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.001808/0.2703, allocations: 0.9994 MB / 0.9859 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.272, allocations: 211.8 kB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.272, allocations: 0 / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.2727, allocations: 84.03 kB / 0.9862 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.273, allocations: 17.78 kB / 0.9862 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/0.2775, allocations: 0.9093 MB / 0.9871 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.2777, allocations: 0.6965 MB / 0.9878 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.2778, allocations: 16 kB / 0.9878 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.278, allocations: 35.39 kB / 0.9878 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of SimCode: time 8.71e-07/0.278, allocations: 0 / 0.9878 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.2985, allocations: 2.382 MB / 0.9901 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.2987, allocations: 195.9 kB / 0.9903 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/2.912, allocations: 0 / 0.9903 GB, free: 15.54 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)