Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.conf.json 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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 108 kB / 16.36 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009979/0.0009979, allocations: 192.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8147/0.8147, allocations: 143 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2913, allocations: 82.04 MB / 0.5957 GB, free: 16.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002013/0.2933, allocations: 1.456 MB / 0.5971 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004777/0.2938, allocations: 448.2 kB / 0.5975 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.2939, allocations: 0 / 0.5975 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.2939, allocations: 9.328 kB / 0.5975 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.988e-05/0.294, allocations: 7.938 kB / 0.5975 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.2941, allocations: 19.92 kB / 0.5976 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.2942, allocations: 55.83 kB / 0.5976 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.2943, allocations: 17.33 kB / 0.5976 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.926e-05/0.2943, allocations: 25.06 kB / 0.5977 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.2944, allocations: 23.84 kB / 0.5977 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2944, allocations: 4 kB / 0.5977 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-06/0.2944, allocations: 4 kB / 0.5977 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2944, allocations: 13.05 kB / 0.5977 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.2945, allocations: 23.88 kB / 0.5977 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.044e-05/0.2945, allocations: 45.23 kB / 0.5978 GB, free: 14.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2946, allocations: 0 / 0.5978 GB, free: 14.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2946, allocations: 0 / 0.5978 GB, free: 14.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.2946, allocations: 4 kB / 0.5978 GB, free: 14.15 MB / 446.1 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.0003429/0.2949, allocations: 358.5 kB / 0.5981 GB, free: 13.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.617e-05/0.295, allocations: 9.531 kB / 0.5981 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.295, allocations: 12.78 kB / 0.5981 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.776e-05/0.2951, allocations: 168.3 kB / 0.5983 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.2951, allocations: 384 / 0.5983 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.2951, allocations: 13.7 kB / 0.5983 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.448e-05/0.2952, allocations: 61.98 kB / 0.5984 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.2952, allocations: 0 / 0.5984 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.2952, allocations: 1.375 kB / 0.5984 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2952, allocations: 0 / 0.5984 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.954e-05/0.2953, allocations: 31.92 kB / 0.5984 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.2956, allocations: 302 kB / 0.5987 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.251e-05/0.2957, allocations: 55.47 kB / 0.5987 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.2957, allocations: 26.17 kB / 0.5988 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.2958, allocations: 3.984 kB / 0.5988 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.2959, allocations: 72.41 kB / 0.5988 GB, free: 12.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2959, allocations: 1.344 kB / 0.5988 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001685/0.2961, allocations: 109.5 kB / 0.5989 GB, free: 12.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.2961, allocations: 55.41 kB / 0.599 GB, free: 12.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.472e-05/0.2961, allocations: 103.1 kB / 0.5991 GB, free: 12.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.2962, allocations: 33.7 kB / 0.5991 GB, free: 12.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.2962, allocations: 80.73 kB / 0.5992 GB, free: 12.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.2962, allocations: 23.7 kB / 0.5992 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.2962, allocations: 26.78 kB / 0.5992 GB, free: 12.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.408e-05/0.2963, allocations: 323.9 kB / 0.5996 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.854e-05/0.2963, allocations: 19.94 kB / 0.5996 GB, free: 12.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.2964, allocations: 46.58 kB / 0.5996 GB, free: 12.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.262e-05/0.2964, allocations: 69.05 kB / 0.5997 GB, free: 11.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2964, allocations: 4 kB / 0.5997 GB, free: 11.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001044/0.2965, allocations: 90.78 kB / 0.5998 GB, free: 11.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.2966, allocations: 11.98 kB / 0.5998 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.2966, allocations: 3.938 kB / 0.5998 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2966, allocations: 0.625 kB / 0.5998 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.2966, allocations: 8 kB / 0.5998 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2967, allocations: 9.219 kB / 0.5998 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.959e-05/0.2967, allocations: 11.98 kB / 0.5998 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.2967, allocations: 5.406 kB / 0.5998 GB, free: 11.82 MB / 446.1 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 4.882e-05/0.2968, allocations: 126 kB / 0.5999 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.2968, allocations: 4 kB / 0.5999 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.2968, allocations: 9.438 kB / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2968, allocations: 0 / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2968, allocations: 0 / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2968, allocations: 1.5 kB / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.2971, allocations: 366.3 kB / 0.6003 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2971, allocations: 0 / 0.6003 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.2972, allocations: 8.531 kB / 0.6003 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2972, allocations: 2.312 kB / 0.6003 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.2972, allocations: 0 / 0.6003 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2972, allocations: 3.938 kB / 0.6003 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2972, allocations: 480 / 0.6003 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.2973, allocations: 188.8 kB / 0.6005 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.2973, allocations: 81.11 kB / 0.6006 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.2973, allocations: 4 kB / 0.6006 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.054e-05/0.2974, allocations: 13.33 kB / 0.6006 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.2975, allocations: 7.984 kB / 0.6006 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2975, allocations: 0 / 0.6006 GB, free: 10.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.964e-05/0.2975, allocations: 83.28 kB / 0.6007 GB, free: 10.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2975, allocations: 4.656 kB / 0.6007 GB, free: 10.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.2977, allocations: 13.5 kB / 0.6007 GB, free: 10.83 MB / 446.1 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.131e-05/0.2978, allocations: 98.06 kB / 0.6008 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.2979, allocations: 61.41 kB / 0.6009 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2979, allocations: 4 kB / 0.6009 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.298, allocations: 23.94 kB / 0.6009 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.2982, allocations: 14.8 kB / 0.6009 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.2985, allocations: 162.9 kB / 0.601 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.456e-05/0.2986, allocations: 0.6856 MB / 0.6017 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.288e-05/0.2987, allocations: 4 kB / 0.6017 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.2987, allocations: 16.28 kB / 0.6017 GB, free: 9.715 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2987, allocations: 0 / 0.6017 GB, free: 9.715 MB / 446.1 MB Notification: Performance of Templates: time 0.002326/0.301, allocations: 0.7823 MB / 0.6025 GB, free: 8.965 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)