Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 177.5 kB / 326.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009594/0.0009595, allocations: 85.92 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004393, allocations: 9.156 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2619, allocations: 106.3 MB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001774/0.2637, allocations: 1.199 MB / 0.9013 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2649, allocations: 0.7303 MB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.265, allocations: 4 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.265, allocations: 3.938 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.2651, allocations: 11.97 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.2655, allocations: 95.64 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.2656, allocations: 43.94 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.2657, allocations: 8 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/0.2658, allocations: 27.91 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.2659, allocations: 47.81 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.2659, allocations: 4 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.2661, allocations: 59.95 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.2661, allocations: 15.91 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.2661, allocations: 33.7 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.2663, allocations: 95.77 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2663, allocations: 0 / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2663, allocations: 0 / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.2663, allocations: 0 / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006306/0.267, allocations: 409.2 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.267, allocations: 12.03 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.2671, allocations: 38.55 kB / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.2671, allocations: 11.86 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.876e-05/0.2672, allocations: 174.9 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.2672, allocations: 0 / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.2672, allocations: 8 kB / 0.9031 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.2674, allocations: 73.64 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2674, allocations: 4 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2675, allocations: 0 / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2675, allocations: 0 / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.2676, allocations: 39.97 kB / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.2682, allocations: 328.7 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.2683, allocations: 46.56 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.2683, allocations: 4.125 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.2685, allocations: 87.3 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2685, allocations: 3.938 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003697/0.2689, allocations: 157.5 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.269, allocations: 55.41 kB / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/0.269, allocations: 121.8 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.2691, allocations: 25.7 kB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.2691, allocations: 96.23 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.2691, allocations: 15.83 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.2691, allocations: 4 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.2692, allocations: 314.8 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.156e-05/0.2693, allocations: 31.98 kB / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/0.2694, allocations: 50.55 kB / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.997e-05/0.2695, allocations: 35.98 kB / 0.9045 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2695, allocations: 3.938 kB / 0.9045 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002002/0.2697, allocations: 125.5 kB / 0.9046 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2697, allocations: 4 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2697, allocations: 0 / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2697, allocations: 4 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.2698, allocations: 15.94 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2698, allocations: 0 / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.2699, allocations: 19.97 kB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2699, allocations: 0 / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.789e-05/0.27, allocations: 117.8 kB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.27, allocations: 0 / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.2701, allocations: 20.3 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2701, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2701, allocations: 3.953 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2701, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.2705, allocations: 386.8 kB / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2705, allocations: 0 / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.2705, allocations: 8 kB / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2705, allocations: 0 / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2705, allocations: 7.938 kB / 0.9052 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2705, allocations: 4.078 kB / 0.9052 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2706, allocations: 11.92 kB / 0.9052 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.2708, allocations: 207.4 kB / 0.9054 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.2708, allocations: 85.05 kB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.2708, allocations: 3.984 kB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.2709, allocations: 15.95 kB / 0.9055 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.271, allocations: 7.984 kB / 0.9055 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.271, allocations: 4 kB / 0.9055 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.2711, allocations: 91.27 kB / 0.9056 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2711, allocations: 3.938 kB / 0.9056 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002835/0.2713, allocations: 36 kB / 0.9057 GB, free: 57.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007454/0.2721, allocations: 0.807 MB / 0.9064 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.2723, allocations: 87.88 kB / 0.9065 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2723, allocations: 0 / 0.9065 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.015e-05/0.2724, allocations: 31.98 kB / 0.9066 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.2726, allocations: 11.95 kB / 0.9066 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007061/0.2733, allocations: 0.7206 MB / 0.9073 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.2735, allocations: 0.6926 MB / 0.908 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.2736, allocations: 4.188 kB / 0.908 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.2736, allocations: 23.42 kB / 0.908 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2736, allocations: 0 / 0.908 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.2874, allocations: 2.309 MB / 0.9102 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.2876, allocations: 252.2 kB / 0.9105 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/1.935, allocations: 1.406 kB / 0.9105 GB, free: 52.83 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)