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.222/1.222, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.0009353/0.0009351, allocations: 180 kB / 325.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205 MB / 0.576 GB, free: 20.93 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.000658/0.000658, allocations: 87.3 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002643/0.0002643, allocations: 9.062 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1306, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001205/0.1318, allocations: 1.215 MB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005004/0.1323, allocations: 497 kB / 0.8978 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.1324, allocations: 0 / 0.8978 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.1324, allocations: 3.938 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.608e-05/0.1325, allocations: 0 / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.1326, allocations: 27.92 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.375e-05/0.1326, allocations: 47.89 kB / 0.8979 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.253e-05/0.1327, allocations: 8 kB / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.1328, allocations: 23.92 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.1328, allocations: 15.92 kB / 0.898 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1328, allocations: 4 kB / 0.898 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.1328, allocations: 0 / 0.898 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.1329, allocations: 15.92 kB / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.1329, allocations: 15.88 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.742e-05/0.133, allocations: 39.86 kB / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.133, allocations: 0 / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.362e-06/0.133, allocations: 0 / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.133, allocations: 0 / 0.898 GB, free: 66.12 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.0003232/0.1333, allocations: 367.4 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1334, allocations: 8.031 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.571e-05/0.1334, allocations: 34.75 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.1334, allocations: 4.938 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.479e-05/0.1335, allocations: 172.4 kB / 0.8986 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1335, allocations: 4.375 kB / 0.8986 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.1335, allocations: 4.375 kB / 0.8986 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.055e-05/0.1336, allocations: 69.69 kB / 0.8987 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.1336, allocations: 3.984 kB / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1336, allocations: 0 / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1336, allocations: 0 / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.1337, allocations: 27.98 kB / 0.8987 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.134, allocations: 308.6 kB / 0.899 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.788e-05/0.1341, allocations: 54.56 kB / 0.8991 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.1341, allocations: 28.94 kB / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.1341, allocations: 0 / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.1343, allocations: 71.42 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.1343, allocations: 4 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0001603/0.1344, allocations: 101.5 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.1345, allocations: 59.39 kB / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.095e-05/0.1345, allocations: 105.8 kB / 0.8994 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.1345, allocations: 29.7 kB / 0.8994 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.1345, allocations: 84.05 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.1346, allocations: 19.8 kB / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.1346, allocations: 17.72 kB / 0.8996 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.271e-05/0.1346, allocations: 330.8 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.1347, allocations: 12 kB / 0.8999 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-05/0.1347, allocations: 43.42 kB / 0.8999 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.074e-05/0.1348, allocations: 71.36 kB / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1348, allocations: 3.938 kB / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001008/0.1349, allocations: 102.1 kB / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.1349, allocations: 7.938 kB / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1349, allocations: 0 / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.1349, allocations: 4.047 kB / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.135, allocations: 19.92 kB / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.135, allocations: 0 / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.1351, allocations: 11.98 kB / 0.9001 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1351, allocations: 7.938 kB / 0.9001 GB, free: 63.71 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,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.725e-05/0.1351, allocations: 125.8 kB / 0.9003 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.1351, allocations: 3.906 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.1352, allocations: 11.97 kB / 0.9003 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1352, allocations: 0 / 0.9003 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1352, allocations: 3.984 kB / 0.9003 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1352, allocations: 0 / 0.9003 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1354, allocations: 362.4 kB / 0.9006 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1354, allocations: 8 kB / 0.9006 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.1355, allocations: 0 / 0.9006 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1355, allocations: 4 kB / 0.9006 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1355, allocations: 0 / 0.9006 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1355, allocations: 3.938 kB / 0.9006 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1355, allocations: 0 / 0.9006 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.1356, allocations: 183.4 kB / 0.9008 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.1356, allocations: 81.11 kB / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.1356, allocations: 4 kB / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.1357, allocations: 11.92 kB / 0.9009 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.1357, allocations: 11.98 kB / 0.9009 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1358, allocations: 4 kB / 0.9009 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.852e-05/0.1358, allocations: 79.28 kB / 0.901 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1358, allocations: 0 / 0.901 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001955/0.136, allocations: 19.91 kB / 0.901 GB, free: 62.71 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.0002137/0.1362, allocations: 0.7222 MB / 0.9017 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.992e-05/0.1363, allocations: 55.98 kB / 0.9018 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1363, allocations: 0 / 0.9018 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.1364, allocations: 20 kB / 0.9018 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.1366, allocations: 19.92 kB / 0.9018 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.1374, allocations: 1.39 MB / 0.9032 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.653e-05/0.1375, allocations: 0.6854 MB / 0.9038 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.1375, allocations: 7.984 kB / 0.9038 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.1375, allocations: 15.44 kB / 0.9039 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.1375, allocations: 3.938 kB / 0.9039 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4796/0.6171, allocations: 1.486 MB / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.6173, allocations: 203.4 kB / 0.9055 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.245, allocations: 0 / 0.9055 GB, free: 58.04 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)