Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer",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.69/2.69, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001676/0.001676, allocations: 175.5 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.12/2.12, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001177/0.001176, allocations: 84.38 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 9.844 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2119, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001765/0.2138, allocations: 1.176 MB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008485/0.2146, allocations: 457.2 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.2147, allocations: 0 / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.2147, allocations: 3.938 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.129e-05/0.2148, allocations: 15.91 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.215, allocations: 11.98 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.2151, allocations: 39.95 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.2152, allocations: 4 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.2153, allocations: 19.92 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.2153, allocations: 15.92 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2154, allocations: 4 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.2154, allocations: 0 / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.2154, allocations: 15.92 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.2155, allocations: 29.7 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.289e-05/0.2155, allocations: 36.16 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2156, allocations: 4 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2156, allocations: 3.938 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.2156, allocations: 0 / 0.9801 GB, free: 26.46 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004944/0.2161, allocations: 351.3 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2161, allocations: 12.02 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.2162, allocations: 34.56 kB / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.2162, allocations: 15.84 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2163, allocations: 175 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2164, allocations: 4 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.2164, allocations: 4 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.2165, allocations: 61.61 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2165, allocations: 0 / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2166, allocations: 0 / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2166, allocations: 0 / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.951e-05/0.2167, allocations: 27.98 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.2173, allocations: 308.7 kB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.2174, allocations: 54.56 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.2174, allocations: 0 / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.2176, allocations: 75.64 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.2176, allocations: 0 / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002824/0.2179, allocations: 101.6 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.218, allocations: 51.41 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.2181, allocations: 113.8 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2181, allocations: 26.08 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.2181, allocations: 92.12 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.2182, allocations: 27.64 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.2182, allocations: 4 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.2183, allocations: 318.8 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.2183, allocations: 15.98 kB / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.2184, allocations: 51.36 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.221e-05/0.2185, allocations: 16.19 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2185, allocations: 0 / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001878/0.2187, allocations: 101.6 kB / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2187, allocations: 4 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2187, allocations: 0 / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2187, allocations: 7.953 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2189, allocations: 11.94 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2189, allocations: 0 / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.219, allocations: 19.89 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.219, allocations: 0 / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.067e-05/0.2191, allocations: 127.1 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.2191, allocations: 0 / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.2192, allocations: 11.97 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2192, allocations: 0 / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2192, allocations: 3.953 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2192, allocations: 0 / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.2197, allocations: 378.3 kB / 0.9825 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2197, allocations: 0 / 0.9825 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.2198, allocations: 4 kB / 0.9826 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2198, allocations: 0 / 0.9826 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2198, allocations: 11.95 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2198, allocations: 0 / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2198, allocations: 0 / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.22, allocations: 175.5 kB / 0.9827 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.2201, allocations: 85.02 kB / 0.9828 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.2201, allocations: 4.188 kB / 0.9828 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.2202, allocations: 15.94 kB / 0.9828 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.2203, allocations: 11.92 kB / 0.9828 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.2203, allocations: 0 / 0.9828 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.622e-05/0.2204, allocations: 83.28 kB / 0.9829 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2204, allocations: 0 / 0.9829 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003225/0.2207, allocations: 16 kB / 0.9829 GB, free: 23.17 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0004169/0.2211, allocations: 0.7107 MB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.2213, allocations: 55.91 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2213, allocations: 0 / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.2214, allocations: 23.94 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.2217, allocations: 15.94 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2228, allocations: 0.9346 MB / 0.9846 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.223, allocations: 0.6887 MB / 0.9853 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.404e-05/0.223, allocations: 4 kB / 0.9853 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.2231, allocations: 23.42 kB / 0.9853 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/0.2231, allocations: 4 kB / 0.9853 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.2495, allocations: 1.461 MB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/0.2499, allocations: 175 kB / 0.9869 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/2.634, allocations: 64 / 0.9869 GB, free: 19.02 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)