Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.599/2.599, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001358/0.001358, allocations: 191 kB / 371 MB, free: 10.88 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.458/2.458, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009635/0.0009632, allocations: 91.16 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.0005154, allocations: 12.33 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2253, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001909/0.2273, allocations: 1.207 MB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.2289, allocations: 0.7151 MB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.229, allocations: 0 / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.229, allocations: 7.938 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.2291, allocations: 7.938 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.2298, allocations: 95.75 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.2299, allocations: 63.78 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2301, allocations: 8 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2302, allocations: 35.89 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.2303, allocations: 31.84 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2303, allocations: 8 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.2306, allocations: 83.91 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.2306, allocations: 19.91 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.2307, allocations: 37.64 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.2309, allocations: 92.05 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2309, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2309, allocations: 4 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2309, allocations: 0 / 0.9808 GB, free: 25.83 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000647/0.2316, allocations: 414.8 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2316, allocations: 8.031 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.2317, allocations: 34.56 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.2317, allocations: 11.86 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.2318, allocations: 175 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.2319, allocations: 4 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.2319, allocations: 8 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.2321, allocations: 69.66 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2322, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2322, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2322, allocations: 4 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2324, allocations: 47.86 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007741/0.2332, allocations: 316.8 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.2334, allocations: 50.56 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.2336, allocations: 36.95 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.2336, allocations: 4 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.2339, allocations: 87.38 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.236e-06/0.2339, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000578/0.2345, allocations: 149.6 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.2345, allocations: 51.41 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.2346, allocations: 125.7 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.2347, allocations: 25.7 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.2347, allocations: 96.27 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.2348, allocations: 11.81 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.2348, allocations: 4 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.2349, allocations: 314.8 kB / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.235, allocations: 35.98 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.2351, allocations: 58.42 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.2353, allocations: 32 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2353, allocations: 0 / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003627/0.2357, allocations: 121.5 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2357, allocations: 4 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2357, allocations: 0 / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2358, allocations: 7.953 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.2359, allocations: 12.05 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.236, allocations: 4 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.2361, allocations: 15.98 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.2361, allocations: 7.938 kB / 0.9831 GB, free: 23.29 MB / 0.6198 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 0.0001053/0.2362, allocations: 118.8 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.2363, allocations: 7.906 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.2363, allocations: 8.375 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2363, allocations: 3.953 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2364, allocations: 4 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2364, allocations: 3.984 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.237, allocations: 386.4 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.237, allocations: 0 / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.2371, allocations: 4 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/0.2371, allocations: 7.938 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2372, allocations: 8 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2372, allocations: 4 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2372, allocations: 0 / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.2376, allocations: 211.9 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.2376, allocations: 85.02 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.2377, allocations: 7.953 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.2378, allocations: 11.98 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.2379, allocations: 4 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2379, allocations: 7.984 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.238, allocations: 91.22 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.238, allocations: 3.938 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003865/0.2384, allocations: 39.98 kB / 0.984 GB, free: 22.2 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: 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.0009252/0.2393, allocations: 0.8075 MB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003634/0.2397, allocations: 83.89 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2397, allocations: 0 / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.2399, allocations: 35.98 kB / 0.9849 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.2402, allocations: 11.94 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.2416, allocations: 0.5984 MB / 0.9855 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.2418, allocations: 0.6887 MB / 0.9862 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.911e-05/0.2418, allocations: 8.125 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.2419, allocations: 23.42 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of SimCode: time 1.352e-06/0.2419, allocations: 4 kB / 0.9862 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.2648, allocations: 2.345 MB / 0.9885 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/0.2652, allocations: 260.9 kB / 0.9888 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/2.98, allocations: 0 / 0.9888 GB, free: 17.35 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)