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.006525/0.006525, allocations: 100.2 kB / 15.87 MB, free: 5.867 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.001387/0.001387, allocations: 190.2 kB / 16.79 MB, free: 5.809 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.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 1.015/1.015, allocations: 143 MB / 433.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 55.91 kB / 0.5141 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2093, allocations: 82.04 MB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002992/0.2124, allocations: 1.53 MB / 0.5957 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007286/0.2131, allocations: 431 kB / 0.5962 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.2132, allocations: 0 / 0.5962 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.2132, allocations: 7.922 kB / 0.5962 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.72e-05/0.2134, allocations: 3.938 kB / 0.5962 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.2135, allocations: 19.98 kB / 0.5962 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2136, allocations: 51.91 kB / 0.5962 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.2138, allocations: 11.98 kB / 0.5962 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.632e-05/0.2138, allocations: 31.8 kB / 0.5963 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.2139, allocations: 15.92 kB / 0.5963 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.2139, allocations: 4 kB / 0.5963 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.2139, allocations: 4 kB / 0.5963 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.214, allocations: 11.92 kB / 0.5963 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.214, allocations: 15.94 kB / 0.5963 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.351e-05/0.2141, allocations: 31.94 kB / 0.5964 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.2141, allocations: 0 / 0.5964 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2141, allocations: 0 / 0.5964 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2142, allocations: 0 / 0.5964 GB, free: 7.875 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.0005699/0.2147, allocations: 361.8 kB / 0.5967 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2148, allocations: 12.03 kB / 0.5967 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.2148, allocations: 16.77 kB / 0.5967 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.215, allocations: 164.3 kB / 0.5969 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.215, allocations: 8.359 kB / 0.5969 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.215, allocations: 8.375 kB / 0.5969 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.2152, allocations: 61.92 kB / 0.597 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2152, allocations: 0 / 0.597 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2152, allocations: 0 / 0.597 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2152, allocations: 8 kB / 0.597 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.57e-05/0.2153, allocations: 23.98 kB / 0.597 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.2158, allocations: 300.6 kB / 0.5973 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.2159, allocations: 50.58 kB / 0.5973 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.216, allocations: 32.94 kB / 0.5974 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.216, allocations: 0 / 0.5974 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.2162, allocations: 79.41 kB / 0.5974 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.2162, allocations: 0 / 0.5974 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002484/0.2165, allocations: 101.5 kB / 0.5975 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.2165, allocations: 55.39 kB / 0.5976 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.796e-05/0.2166, allocations: 101.9 kB / 0.5977 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.2166, allocations: 33.7 kB / 0.5977 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.2167, allocations: 92.11 kB / 0.5978 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.2167, allocations: 19.66 kB / 0.5978 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.2168, allocations: 33.7 kB / 0.5979 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2169, allocations: 318.8 kB / 0.5982 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.789e-05/0.2169, allocations: 15.98 kB / 0.5982 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.217, allocations: 47.42 kB / 0.5982 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.868e-05/0.2171, allocations: 67.38 kB / 0.5983 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2171, allocations: 0 / 0.5983 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001436/0.2173, allocations: 97.45 kB / 0.5984 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2173, allocations: 4 kB / 0.5984 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2173, allocations: 7.938 kB / 0.5984 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2173, allocations: 0 / 0.5984 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.2174, allocations: 12.27 kB / 0.5984 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2174, allocations: 4.031 kB / 0.5984 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.2175, allocations: 12.06 kB / 0.5984 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.2175, allocations: 4 kB / 0.5984 GB, free: 5.52 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,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 9.87e-05/0.2176, allocations: 129.7 kB / 0.5985 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.2176, allocations: 3.984 kB / 0.5985 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.2177, allocations: 7.969 kB / 0.5986 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2177, allocations: 4 kB / 0.5986 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2177, allocations: 0 / 0.5986 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2177, allocations: 4 kB / 0.5986 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.2181, allocations: 358.3 kB / 0.5989 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2181, allocations: 0 / 0.5989 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.2181, allocations: 4 kB / 0.5989 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2182, allocations: 0 / 0.5989 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.2182, allocations: 11.98 kB / 0.5989 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2182, allocations: 4.406 kB / 0.5989 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2182, allocations: 0 / 0.5989 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.2184, allocations: 183.3 kB / 0.5991 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.2184, allocations: 89.03 kB / 0.5992 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2184, allocations: 4 kB / 0.5992 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.2185, allocations: 7.938 kB / 0.5992 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.2186, allocations: 11.92 kB / 0.5992 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.2186, allocations: 4 kB / 0.5992 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.2186, allocations: 87.27 kB / 0.5993 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2187, allocations: 4 kB / 0.5993 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002266/0.2189, allocations: 16 kB / 0.5993 GB, free: 4.5 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 (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.000106/0.219, allocations: 97.36 kB / 0.5994 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.2191, allocations: 51.92 kB / 0.5995 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2191, allocations: 0 / 0.5995 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.387e-05/0.2192, allocations: 27.92 kB / 0.5995 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.2195, allocations: 15.98 kB / 0.5995 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.2199, allocations: 202.6 kB / 0.5997 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.2202, allocations: 0.6848 MB / 0.6004 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.2202, allocations: 11.44 kB / 0.6004 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2203, allocations: 0 / 0.6004 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of Templates: time 0.002227/0.2225, allocations: 0.8568 MB / 0.6012 GB, free: 2.496 MB / 0.4981 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)