Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",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.647/2.647, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001515/0.001515, allocations: 184.6 kB / 370.8 MB, free: 10.87 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.214/2.214, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001779/0.001779, allocations: 88.97 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 16.2 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2424, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001348/0.2438, allocations: 0.947 MB / 0.9792 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.2459, allocations: 1.174 MB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.2459, allocations: 0 / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.246, allocations: 0 / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007154/0.2467, allocations: 159.5 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.2469, allocations: 32.81 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.442e-05/0.2469, allocations: 4 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.247, allocations: 0 / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.247, allocations: 19.97 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.2472, allocations: 17.23 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.2473, allocations: 4 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004028/0.2477, allocations: 191.7 kB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.2477, allocations: 0 / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.2477, allocations: 29.7 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.248, allocations: 135.8 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.248, allocations: 0 / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2481, allocations: 0 / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2481, allocations: 4 kB / 0.9809 GB, free: 25.57 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003981/0.2485, allocations: 373.6 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.2485, allocations: 16.02 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.2486, allocations: 121.8 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.2487, allocations: 83.17 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.2488, allocations: 242.3 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.2488, allocations: 150.6 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.2489, allocations: 150.6 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.653e-05/0.2489, allocations: 101 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.249, allocations: 83.27 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.249, allocations: 154.6 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.249, allocations: 154.6 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.975e-05/0.2491, allocations: 158.4 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.2493, allocations: 445.9 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.408e-05/0.2494, allocations: 177.1 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2494, allocations: 79.27 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2494, allocations: 105.8 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.2494, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.907e-05/0.2495, allocations: 33.64 kB / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.807e-05/0.2496, allocations: 207.8 kB / 0.9836 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.2497, allocations: 101.8 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2498, allocations: 25.7 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.2498, allocations: 80.14 kB / 0.9838 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.2498, allocations: 0 / 0.9838 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-07/0.2498, allocations: 0 / 0.9838 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.149e-05/0.2499, allocations: 322.8 kB / 0.9841 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-06/0.2499, allocations: 0 / 0.9841 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-05/0.25, allocations: 18.58 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.25, allocations: 79.28 kB / 0.9842 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.25, allocations: 79.22 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.357e-05/0.2501, allocations: 33.69 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.2501, allocations: 79.28 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.2502, allocations: 75.28 kB / 0.9845 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.054e-05/0.2502, allocations: 158.5 kB / 0.9846 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.542e-05/0.2502, allocations: 79.28 kB / 0.9847 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/0.2503, allocations: 162.5 kB / 0.9849 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.2505, allocations: 83.31 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.2505, allocations: 79.28 kB / 0.985 GB, free: 21.1 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 (0): * Single equations (assignments): 0 * 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.754e-05/0.2506, allocations: 264.4 kB / 0.9853 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.102e-05/0.2507, allocations: 109.2 kB / 0.9854 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.2508, allocations: 112.1 kB / 0.9855 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/0.2508, allocations: 184.2 kB / 0.9857 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.38e-05/0.2508, allocations: 180.2 kB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.178e-05/0.2509, allocations: 176.3 kB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.2511, allocations: 417.1 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/0.2511, allocations: 101 kB / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.2511, allocations: 104.9 kB / 0.9866 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.363e-05/0.2512, allocations: 176.3 kB / 0.9868 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.2512, allocations: 180.3 kB / 0.9869 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.724e-05/0.2513, allocations: 188.5 kB / 0.9871 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.383e-05/0.2513, allocations: 180.2 kB / 0.9873 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.206e-05/0.2514, allocations: 307.8 kB / 0.9876 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.2515, allocations: 194 kB / 0.9878 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.2515, allocations: 184.2 kB / 0.9879 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.2517, allocations: 116.9 kB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.2518, allocations: 184.2 kB / 0.9882 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.2518, allocations: 101 kB / 0.9883 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.2519, allocations: 83.28 kB / 0.9884 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2519, allocations: 0 / 0.9884 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005258/0.2524, allocations: 75.98 kB / 0.9885 GB, free: 17.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001015/0.2535, allocations: 1.019 MB / 0.9895 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.377e-05/0.2535, allocations: 4 kB / 0.9895 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2535, allocations: 0 / 0.9895 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.2536, allocations: 0 / 0.9895 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.2539, allocations: 0.5263 MB / 0.99 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/0.2546, allocations: 0.5464 MB / 0.9905 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.2547, allocations: 0.681 MB / 0.9912 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.107e-05/0.2548, allocations: 12.02 kB / 0.9912 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.2548, allocations: 13.06 kB / 0.9912 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.312e-06/0.2548, allocations: 0 / 0.9912 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.2861, allocations: 2.788 MB / 0.9939 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/0.2864, allocations: 245.8 kB / 0.9942 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/2.872, allocations: 9.688 kB / 0.9942 GB, free: 11.62 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)