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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.0009279/0.0009278, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008767/0.0008768, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.253/1.253, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2047, allocations: 83.41 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002163/0.2069, allocations: 1.164 MB / 0.5984 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008075/0.2077, allocations: 415.3 kB / 0.5988 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.2078, allocations: 0 / 0.5988 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.2078, allocations: 3.938 kB / 0.5988 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.208, allocations: 19.91 kB / 0.5988 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.2081, allocations: 11.98 kB / 0.5988 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.246e-05/0.2082, allocations: 31.95 kB / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2084, allocations: 12 kB / 0.5989 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.2084, allocations: 15.92 kB / 0.5989 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.999e-05/0.2085, allocations: 19.92 kB / 0.5989 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.2085, allocations: 0 / 0.5989 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.2086, allocations: 4 kB / 0.5989 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.2086, allocations: 15.91 kB / 0.5989 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.2086, allocations: 29.7 kB / 0.599 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.197e-05/0.2087, allocations: 31.94 kB / 0.599 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2087, allocations: 3.938 kB / 0.599 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2087, allocations: 4 kB / 0.599 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2087, allocations: 0 / 0.599 GB, free: 6.035 MB / 0.4981 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.0005248/0.2093, allocations: 351.5 kB / 0.5993 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.2093, allocations: 8.031 kB / 0.5993 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.2094, allocations: 7.906 kB / 0.5993 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.2096, allocations: 178.9 kB / 0.5995 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.2096, allocations: 8 kB / 0.5995 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.2096, allocations: 4 kB / 0.5995 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.2097, allocations: 53.67 kB / 0.5996 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2098, allocations: 4 kB / 0.5996 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.2099, allocations: 0 / 0.5996 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.2099, allocations: 0 / 0.5996 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.21, allocations: 27.92 kB / 0.5996 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.2106, allocations: 304.7 kB / 0.5999 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.2107, allocations: 54.56 kB / 0.5999 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.2107, allocations: 4.031 kB / 0.6 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.2109, allocations: 75.59 kB / 0.6 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.2109, allocations: 0 / 0.6 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002653/0.2112, allocations: 105.5 kB / 0.6001 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.2113, allocations: 59.39 kB / 0.6002 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.2114, allocations: 109.8 kB / 0.6003 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2114, allocations: 25.7 kB / 0.6003 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.2115, allocations: 88.14 kB / 0.6004 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.2115, allocations: 23.66 kB / 0.6004 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.2116, allocations: 0 / 0.6004 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2117, allocations: 322.8 kB / 0.6007 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.2117, allocations: 12 kB / 0.6007 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.2118, allocations: 51.36 kB / 0.6008 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.422e-05/0.2119, allocations: 24.11 kB / 0.6008 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2119, allocations: 0 / 0.6008 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001818/0.2121, allocations: 89.61 kB / 0.6009 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2121, allocations: 12.03 kB / 0.6009 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2121, allocations: 0 / 0.6009 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.2121, allocations: 4 kB / 0.6009 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.2122, allocations: 15.92 kB / 0.6009 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.2123, allocations: 8 kB / 0.6009 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.2123, allocations: 19.91 kB / 0.601 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2124, allocations: 0 / 0.601 GB, free: 3.797 MB / 0.4981 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 0.0001188/0.2125, allocations: 125.5 kB / 0.6011 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.2125, allocations: 4 kB / 0.6011 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.2125, allocations: 7.969 kB / 0.6011 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2126, allocations: 4 kB / 0.6011 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2126, allocations: 0 / 0.6011 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.2126, allocations: 3.953 kB / 0.6011 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.213, allocations: 362.3 kB / 0.6014 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2131, allocations: 0 / 0.6014 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.2131, allocations: 16.45 kB / 0.6015 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2131, allocations: 0 / 0.6015 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2131, allocations: 4 kB / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.2131, allocations: 3.953 kB / 0.6015 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2131, allocations: 0 / 0.6015 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.2133, allocations: 183.4 kB / 0.6016 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.2134, allocations: 84.95 kB / 0.6017 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.2134, allocations: 0 / 0.6017 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.2135, allocations: 15.98 kB / 0.6017 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.2136, allocations: 11.94 kB / 0.6017 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2136, allocations: 4 kB / 0.6017 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.948e-05/0.2137, allocations: 79.28 kB / 0.6018 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2137, allocations: 0 / 0.6018 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002741/0.2139, allocations: 16 kB / 0.6018 GB, free: 2.789 MB / 0.4981 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.0001238/0.2141, allocations: 95.25 kB / 0.6019 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.2142, allocations: 63.84 kB / 0.602 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2142, allocations: 0 / 0.602 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.2143, allocations: 20 kB / 0.602 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.2145, allocations: 19.92 kB / 0.602 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.215, allocations: 172.7 kB / 0.6022 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2153, allocations: 0.6887 MB / 0.6029 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.2153, allocations: 4 kB / 0.6029 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.2153, allocations: 11.44 kB / 0.6029 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.2153, allocations: 0 / 0.6029 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.003521/0.2189, allocations: 0.6528 MB / 0.6035 GB, free: 1.012 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: