Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.558/1.558, allocations: 252 MB / 267.3 MB, free: 10.8 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.001538/0.001538, allocations: 175.1 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 0.578 GB, free: 20.41 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.0008073/0.0008074, allocations: 86.33 kB / 0.6826 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 9.344 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2685, allocations: 106.3 MB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001795/0.2703, allocations: 1.192 MB / 0.9021 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007241/0.2711, allocations: 495.4 kB / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.2711, allocations: 0 / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.2712, allocations: 3.938 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.2712, allocations: 4 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.2714, allocations: 19.92 kB / 0.9026 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.997e-05/0.2715, allocations: 43.91 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2716, allocations: 15.98 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.2717, allocations: 19.92 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.13e-05/0.2718, allocations: 15.92 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2718, allocations: 4 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.2718, allocations: 0 / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.2718, allocations: 15.86 kB / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.2719, allocations: 41.64 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.031e-05/0.272, allocations: 43.8 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.272, allocations: 0 / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.272, allocations: 0 / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.272, allocations: 4 kB / 0.9028 GB, free: 61.78 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004803/0.2725, allocations: 359.7 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2725, allocations: 8.031 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.2726, allocations: 34.75 kB / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.2726, allocations: 4.938 kB / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2727, allocations: 176.3 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2728, allocations: 384 / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.2728, allocations: 12.38 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.2729, allocations: 61.75 kB / 0.9034 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2729, allocations: 3.984 kB / 0.9034 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2729, allocations: 0 / 0.9034 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2729, allocations: 3.938 kB / 0.9034 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/0.273, allocations: 27.98 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.2735, allocations: 304.7 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.966e-05/0.2736, allocations: 54.56 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.2736, allocations: 24.94 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.2737, allocations: 0 / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.2738, allocations: 75.42 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.2739, allocations: 4 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002482/0.2741, allocations: 105.5 kB / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2742, allocations: 51.41 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.838e-05/0.2742, allocations: 105.8 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2743, allocations: 29.7 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.2743, allocations: 88.05 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.2743, allocations: 19.78 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.2743, allocations: 8 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.117e-05/0.2744, allocations: 318.8 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.2744, allocations: 19.92 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-05/0.2745, allocations: 47.42 kB / 0.9046 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.281e-05/0.2746, allocations: 63.38 kB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2746, allocations: 4 kB / 0.9047 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001143/0.2747, allocations: 97.69 kB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2747, allocations: 4 kB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.2747, allocations: 4 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2747, allocations: 4.094 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.2748, allocations: 19.98 kB / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2748, allocations: 0 / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.2749, allocations: 11.94 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2749, allocations: 8.312 kB / 0.9048 GB, free: 59.41 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.275, allocations: 125.8 kB / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.275, allocations: 11.91 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.2751, allocations: 3.969 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2751, allocations: 3.938 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2751, allocations: 0 / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2751, allocations: 0 / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.2754, allocations: 366.5 kB / 0.9053 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2754, allocations: 0 / 0.9053 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.2754, allocations: 7.984 kB / 0.9053 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2755, allocations: 0 / 0.9053 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2755, allocations: 0 / 0.9053 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2755, allocations: 3.938 kB / 0.9053 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2755, allocations: 0 / 0.9053 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.2756, allocations: 183.4 kB / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.2757, allocations: 85.11 kB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.2757, allocations: 0 / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.2758, allocations: 11.92 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.2758, allocations: 8 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2758, allocations: 11.92 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.628e-05/0.2759, allocations: 79.28 kB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2759, allocations: 0 / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002114/0.2761, allocations: 19.91 kB / 0.9057 GB, free: 58.41 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003283/0.2764, allocations: 0.7127 MB / 0.9064 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2765, allocations: 55.86 kB / 0.9065 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2766, allocations: 0 / 0.9065 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.859e-05/0.2766, allocations: 27.98 kB / 0.9065 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.2769, allocations: 27.86 kB / 0.9065 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.278, allocations: 1.387 MB / 0.9079 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.2781, allocations: 0.6893 MB / 0.9086 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.2782, allocations: 4 kB / 0.9086 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.2782, allocations: 19.44 kB / 0.9086 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.2782, allocations: 0 / 0.9086 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01076/0.289, allocations: 1.488 MB / 0.91 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.2892, allocations: 199.8 kB / 0.9102 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.072, allocations: 0 / 0.9102 GB, free: 53.73 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)