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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006808/0.0006809, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.003905/0.003905, allocations: 169 kB / 16.26 MB, free: 6.652 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.2/1.2, allocations: 223.3 MB / 240.3 MB, free: 5.332 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 0.8748/0.8748, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 11.98 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 83.41 MB / 0.598 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001482/0.1374, allocations: 1.187 MB / 0.5991 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006147/0.138, allocations: 423 kB / 0.5995 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.1381, allocations: 0 / 0.5995 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.1381, allocations: 7.938 kB / 0.5995 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.988e-05/0.1382, allocations: 0 / 0.5995 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.1383, allocations: 23.92 kB / 0.5995 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.551e-05/0.1384, allocations: 51.84 kB / 0.5996 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.673e-05/0.1385, allocations: 8 kB / 0.5996 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.1385, allocations: 23.91 kB / 0.5996 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.1386, allocations: 15.92 kB / 0.5996 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1386, allocations: 0 / 0.5996 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.1386, allocations: 4 kB / 0.5996 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.1386, allocations: 7.984 kB / 0.5997 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.1387, allocations: 53.52 kB / 0.5997 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.48e-05/0.1388, allocations: 40.14 kB / 0.5997 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1388, allocations: 3.938 kB / 0.5997 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1388, allocations: 0 / 0.5997 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.1388, allocations: 0 / 0.5997 GB, free: 5.719 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.000441/0.1392, allocations: 355.4 kB / 0.6001 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1393, allocations: 16.03 kB / 0.6001 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.1393, allocations: 34.75 kB / 0.6001 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1394, allocations: 12.83 kB / 0.6001 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.1395, allocations: 168.3 kB / 0.6003 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1395, allocations: 384 / 0.6003 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1395, allocations: 8.375 kB / 0.6003 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1396, allocations: 69.67 kB / 0.6004 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.1396, allocations: 0 / 0.6004 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.1397, allocations: 0 / 0.6004 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1397, allocations: 0 / 0.6004 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.945e-05/0.1397, allocations: 31.98 kB / 0.6004 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1402, allocations: 304.7 kB / 0.6007 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.73e-05/0.1403, allocations: 62.55 kB / 0.6008 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.1403, allocations: 24.94 kB / 0.6008 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.1403, allocations: 0 / 0.6008 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.1405, allocations: 75.41 kB / 0.6009 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1405, allocations: 0 / 0.6009 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000196/0.1407, allocations: 101.5 kB / 0.601 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.1407, allocations: 59.77 kB / 0.601 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.1408, allocations: 101.9 kB / 0.6011 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1408, allocations: 33.7 kB / 0.6011 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.1409, allocations: 84.12 kB / 0.6012 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.1409, allocations: 31.58 kB / 0.6013 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.141, allocations: 21.7 kB / 0.6013 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.141, allocations: 322.8 kB / 0.6016 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.1411, allocations: 15.98 kB / 0.6016 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.1411, allocations: 47.42 kB / 0.6016 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.514e-05/0.1412, allocations: 63.38 kB / 0.6017 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1412, allocations: 0 / 0.6017 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001341/0.1414, allocations: 97.52 kB / 0.6018 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1414, allocations: 7.938 kB / 0.6018 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1414, allocations: 0 / 0.6018 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1414, allocations: 4 kB / 0.6018 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.1415, allocations: 12.03 kB / 0.6018 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1415, allocations: 3.984 kB / 0.6018 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.1416, allocations: 12 kB / 0.6018 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1416, allocations: 7.875 kB / 0.6018 GB, free: 3.316 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 7.366e-05/0.1417, allocations: 123.2 kB / 0.602 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.1417, allocations: 0 / 0.602 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.1417, allocations: 15.95 kB / 0.602 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1417, allocations: 0 / 0.602 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1417, allocations: 4 kB / 0.602 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1417, allocations: 288 / 0.602 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.1421, allocations: 358.4 kB / 0.6023 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1421, allocations: 0 / 0.6023 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.1421, allocations: 4 kB / 0.6023 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.1422, allocations: 7.984 kB / 0.6023 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1422, allocations: 4 kB / 0.6023 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1422, allocations: 15.98 kB / 0.6023 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1422, allocations: 0 / 0.6023 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.1423, allocations: 171.6 kB / 0.6025 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.1424, allocations: 89.05 kB / 0.6026 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1424, allocations: 11.92 kB / 0.6026 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.1425, allocations: 7.938 kB / 0.6026 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.1425, allocations: 7.984 kB / 0.6026 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1425, allocations: 8 kB / 0.6026 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.114e-05/0.1426, allocations: 87.27 kB / 0.6027 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1426, allocations: 0 / 0.6027 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002203/0.1428, allocations: 16 kB / 0.6027 GB, free: 2.301 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.0003673/0.1432, allocations: 0.7123 MB / 0.6034 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.1433, allocations: 55.92 kB / 0.6035 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.1433, allocations: 0 / 0.6035 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.575e-05/0.1434, allocations: 23.98 kB / 0.6035 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.1436, allocations: 15.2 kB / 0.6035 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.219/0.3627, allocations: 1.401 MB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.3628, allocations: 0.6852 MB / 0.6056 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.3628, allocations: 10.14 kB / 0.6056 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.3629, allocations: 12.25 kB / 0.6056 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.3629, allocations: 3.375 kB / 0.6056 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6701/1.033, allocations: 1.474 MB / 0.607 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/1.033, allocations: 197.2 kB / 0.6072 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.878, allocations: 0 / 0.6072 GB, free: 39.64 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)