Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.654/1.654, allocations: 288.4 MB / 303.3 MB, free: 8.238 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.0009886/0.0009886, allocations: 170.2 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007819/0.000782, allocations: 89.27 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004591, allocations: 15.22 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2266, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002012/0.2287, allocations: 1.176 MB / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007793/0.2295, allocations: 456.8 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.2295, allocations: 4 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.2296, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2297, allocations: 7.922 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.2299, allocations: 15.98 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.23, allocations: 51.84 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2301, allocations: 11.98 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.2301, allocations: 23.91 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.2302, allocations: 15.92 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2302, allocations: 0 / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.2302, allocations: 4 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.2303, allocations: 7.922 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.2303, allocations: 37.7 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.742e-05/0.2304, allocations: 32.11 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2304, allocations: 4 kB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.846e-06/0.2304, allocations: 7.984 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2304, allocations: 0 / 0.9814 GB, free: 25.73 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.0004998/0.2309, allocations: 343.3 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.231, allocations: 16.02 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.231, allocations: 30.56 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.2311, allocations: 15.89 kB / 0.9818 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2312, allocations: 174.9 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2312, allocations: 4 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.2312, allocations: 4 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.2314, allocations: 57.61 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2314, allocations: 0 / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2314, allocations: 8 kB / 0.9821 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2314, allocations: 0 / 0.9821 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.856e-05/0.2315, allocations: 23.92 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.232, allocations: 316.7 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.2321, allocations: 50.59 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.2322, allocations: 24.95 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.2322, allocations: 8 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.2324, allocations: 71.38 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.2324, allocations: 0 / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002059/0.2326, allocations: 93.58 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.2327, allocations: 63.39 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.547e-05/0.2327, allocations: 105.8 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2328, allocations: 29.69 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.2328, allocations: 88.14 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2328, allocations: 23.66 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.2328, allocations: 0 / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.873e-05/0.2329, allocations: 322.8 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.2329, allocations: 12 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.451e-05/0.233, allocations: 51.3 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.233, allocations: 24 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.233, allocations: 0 / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001118/0.2331, allocations: 93.89 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2332, allocations: 8.375 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.2332, allocations: 4 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2332, allocations: 0 / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/0.2333, allocations: 19.88 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2333, allocations: 7.938 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.2334, allocations: 11.91 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2334, allocations: 8.031 kB / 0.9835 GB, free: 23.42 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 6.898e-05/0.2335, allocations: 117.8 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.2335, allocations: 4 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.2335, allocations: 7.969 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2335, allocations: 4 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2335, allocations: 3.953 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2335, allocations: 0 / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.2339, allocations: 370.3 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2339, allocations: 0 / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.2339, allocations: 7.984 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2339, allocations: 0 / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.2339, allocations: 7.953 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2339, allocations: 4 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2339, allocations: 0 / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.2341, allocations: 183.5 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.2341, allocations: 81.02 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2341, allocations: 0 / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.2342, allocations: 11.95 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.2342, allocations: 7.984 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.2343, allocations: 7.984 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.547e-05/0.2343, allocations: 79.28 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2343, allocations: 0 / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002063/0.2345, allocations: 20 kB / 0.9843 GB, free: 22.42 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.0003046/0.2348, allocations: 0.7149 MB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.235, allocations: 59.8 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.235, allocations: 0 / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/0.235, allocations: 23.98 kB / 0.9851 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.2353, allocations: 24 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007103/0.236, allocations: 493.4 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2361, allocations: 0.6809 MB / 0.9863 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.995e-05/0.2362, allocations: 7.984 kB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.2362, allocations: 15.44 kB / 0.9863 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2362, allocations: 0 / 0.9863 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.2492, allocations: 1.486 MB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.2495, allocations: 199.9 kB / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.901, allocations: 0 / 0.9879 GB, free: 18.71 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)