Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7754/0.7754, allocations: 143.4 MB / 159.2 MB, free: 4.848 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 184.5 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009961/0.0009961, allocations: 95.2 kB / 0.517 GB, free: 3.734 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001836/0.001836, allocations: 281.2 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 75.88 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2939, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002199/0.2961, allocations: 1.532 MB / 0.7694 GB, free: 26.12 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005166/0.2966, allocations: 443 kB / 0.7698 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.2967, allocations: 0 / 0.7698 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.2967, allocations: 7.938 kB / 0.7698 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.875e-05/0.2968, allocations: 3.984 kB / 0.7699 GB, free: 25.67 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.2969, allocations: 23.92 kB / 0.7699 GB, free: 25.65 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.044e-05/0.297, allocations: 43.92 kB / 0.7699 GB, free: 25.61 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.2971, allocations: 19.91 kB / 0.7699 GB, free: 25.59 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.2972, allocations: 12 kB / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.2972, allocations: 31.78 kB / 0.77 GB, free: 25.54 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.2973, allocations: 0 / 0.77 GB, free: 25.54 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.2973, allocations: 4 kB / 0.77 GB, free: 25.54 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.2973, allocations: 11.98 kB / 0.77 GB, free: 25.53 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.2973, allocations: 15.88 kB / 0.77 GB, free: 25.51 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.356e-05/0.2974, allocations: 50.55 kB / 0.7701 GB, free: 25.46 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2974, allocations: 3.984 kB / 0.7701 GB, free: 25.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2974, allocations: 0 / 0.7701 GB, free: 25.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.2974, allocations: 0 / 0.7701 GB, free: 25.46 MB / 458.7 MB 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.0003758/0.2978, allocations: 359.4 kB / 0.7704 GB, free: 25.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.2979, allocations: 12.02 kB / 0.7704 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.2979, allocations: 8.844 kB / 0.7704 GB, free: 25.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.835e-05/0.298, allocations: 160.4 kB / 0.7706 GB, free: 24.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.298, allocations: 8.375 kB / 0.7706 GB, free: 24.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.298, allocations: 8.375 kB / 0.7706 GB, free: 24.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.786e-05/0.2981, allocations: 61.92 kB / 0.7707 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.2981, allocations: 4 kB / 0.7707 GB, free: 24.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2981, allocations: 7.938 kB / 0.7707 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2981, allocations: 0 / 0.7707 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.265e-05/0.2982, allocations: 19.98 kB / 0.7707 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.2986, allocations: 316.6 kB / 0.771 GB, free: 24.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.2987, allocations: 54.55 kB / 0.771 GB, free: 24.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.2987, allocations: 20.95 kB / 0.7711 GB, free: 24.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2987, allocations: 0 / 0.7711 GB, free: 24.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.2989, allocations: 79.41 kB / 0.7711 GB, free: 24.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.2989, allocations: 4 kB / 0.7711 GB, free: 24.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001803/0.2991, allocations: 97.61 kB / 0.7712 GB, free: 24.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.2991, allocations: 55.41 kB / 0.7713 GB, free: 24.03 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.2992, allocations: 105.8 kB / 0.7714 GB, free: 23.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.2992, allocations: 29.69 kB / 0.7714 GB, free: 23.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.2992, allocations: 96.06 kB / 0.7715 GB, free: 23.78 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.2993, allocations: 15.72 kB / 0.7715 GB, free: 23.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.2993, allocations: 33.7 kB / 0.7715 GB, free: 23.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.2993, allocations: 318.8 kB / 0.7719 GB, free: 23.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.2994, allocations: 19.98 kB / 0.7719 GB, free: 23.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.2994, allocations: 43.42 kB / 0.7719 GB, free: 23.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/0.2995, allocations: 63.38 kB / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2995, allocations: 0 / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001044/0.2996, allocations: 101.5 kB / 0.7721 GB, free: 23.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.2996, allocations: 4 kB / 0.7721 GB, free: 23.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2996, allocations: 4 kB / 0.7721 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2996, allocations: 0 / 0.7721 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.2997, allocations: 11.98 kB / 0.7721 GB, free: 23.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2997, allocations: 0 / 0.7721 GB, free: 23.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.2998, allocations: 16.22 kB / 0.7721 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2998, allocations: 4 kB / 0.7721 GB, free: 23.11 MB / 458.7 MB 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 5.989e-05/0.2999, allocations: 135.4 kB / 0.7722 GB, free: 22.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.2999, allocations: 0 / 0.7722 GB, free: 22.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.2999, allocations: 11.91 kB / 0.7723 GB, free: 22.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2999, allocations: 4 kB / 0.7723 GB, free: 22.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2999, allocations: 288 / 0.7723 GB, free: 22.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2999, allocations: 0 / 0.7723 GB, free: 22.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.3002, allocations: 358.4 kB / 0.7726 GB, free: 22.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3002, allocations: 0 / 0.7726 GB, free: 22.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.3003, allocations: 7.984 kB / 0.7726 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3003, allocations: 7.984 kB / 0.7726 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3003, allocations: 4 kB / 0.7726 GB, free: 22.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3003, allocations: 3.938 kB / 0.7726 GB, free: 22.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3003, allocations: 0 / 0.7726 GB, free: 22.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.3006, allocations: 0.7511 MB / 0.7734 GB, free: 21.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.3006, allocations: 77.11 kB / 0.7734 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.3006, allocations: 8 kB / 0.7734 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.3007, allocations: 3.984 kB / 0.7734 GB, free: 21.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.3007, allocations: 11.98 kB / 0.7734 GB, free: 21.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3007, allocations: 4 kB / 0.7735 GB, free: 21.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.149e-05/0.3008, allocations: 79.28 kB / 0.7735 GB, free: 21.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3008, allocations: 0 / 0.7735 GB, free: 21.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.3011, allocations: 16 kB / 0.7735 GB, free: 21.5 MB / 458.7 MB 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 6.15e-05/0.3012, allocations: 95.25 kB / 0.7736 GB, free: 21.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.3013, allocations: 63.84 kB / 0.7737 GB, free: 21.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3013, allocations: 0 / 0.7737 GB, free: 21.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.337e-05/0.3013, allocations: 36.11 kB / 0.7737 GB, free: 21.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.3016, allocations: 13.8 kB / 0.7737 GB, free: 21.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.3019, allocations: 287.1 kB / 0.774 GB, free: 20.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.115e-05/0.302, allocations: 0.6848 MB / 0.7747 GB, free: 20.26 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.96e-05/0.302, allocations: 11.92 kB / 0.7747 GB, free: 20.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.302, allocations: 11.44 kB / 0.7747 GB, free: 20.24 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.302, allocations: 0 / 0.7747 GB, free: 20.24 MB / 458.7 MB Notification: Performance of Templates: time 0.002247/0.3043, allocations: 0.7289 MB / 0.7754 GB, free: 19.52 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)