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.001425/0.001425, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001632/0.001632, allocations: 189.7 kB / 16.25 MB, free: 6.629 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.189/1.189, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.8685/0.8685, allocations: 143 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 55.91 kB / 0.5138 GB, free: 11.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1225, allocations: 82.04 MB / 0.5939 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002377/0.1249, allocations: 1.537 MB / 0.5954 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005924/0.1255, allocations: 427 kB / 0.5958 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.1256, allocations: 0 / 0.5958 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.1256, allocations: 0 / 0.5958 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.1257, allocations: 7.938 kB / 0.5958 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.1258, allocations: 23.92 kB / 0.5958 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.879e-05/0.1259, allocations: 51.91 kB / 0.5959 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.126, allocations: 11.98 kB / 0.5959 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.126, allocations: 23.86 kB / 0.5959 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.1261, allocations: 27.91 kB / 0.5959 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1261, allocations: 4 kB / 0.596 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.1261, allocations: 4 kB / 0.596 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.1261, allocations: 4 kB / 0.596 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.1262, allocations: 27.86 kB / 0.596 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.753e-05/0.1263, allocations: 40.16 kB / 0.596 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1263, allocations: 4 kB / 0.596 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1263, allocations: 0 / 0.596 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1263, allocations: 3.984 kB / 0.596 GB, free: 7.711 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.0004078/0.1267, allocations: 362.3 kB / 0.5964 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1267, allocations: 16.02 kB / 0.5964 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.1268, allocations: 34.75 kB / 0.5964 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.1268, allocations: 12.78 kB / 0.5964 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1269, allocations: 172.3 kB / 0.5966 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1269, allocations: 4.375 kB / 0.5966 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.127, allocations: 12.36 kB / 0.5966 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.659e-05/0.1271, allocations: 57.81 kB / 0.5967 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.1271, allocations: 0 / 0.5967 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.1271, allocations: 0 / 0.5967 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1271, allocations: 0 / 0.5967 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.593e-05/0.1271, allocations: 31.92 kB / 0.5967 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.1275, allocations: 300.7 kB / 0.597 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.047e-05/0.1276, allocations: 54.66 kB / 0.597 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.1277, allocations: 32.88 kB / 0.5971 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.1277, allocations: 0 / 0.5971 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.1278, allocations: 67.39 kB / 0.5971 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1279, allocations: 4 kB / 0.5971 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0001848/0.128, allocations: 101.5 kB / 0.5972 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.1281, allocations: 55.41 kB / 0.5973 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.426e-05/0.1282, allocations: 105.8 kB / 0.5974 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1282, allocations: 33.7 kB / 0.5974 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.1282, allocations: 84.5 kB / 0.5975 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1282, allocations: 27.64 kB / 0.5975 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.1283, allocations: 25.72 kB / 0.5976 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.1284, allocations: 326.8 kB / 0.5979 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.1284, allocations: 23.88 kB / 0.5979 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.545e-05/0.1285, allocations: 47.36 kB / 0.5979 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.031e-05/0.1286, allocations: 67.36 kB / 0.598 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1286, allocations: 0 / 0.598 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001186/0.1287, allocations: 93.53 kB / 0.5981 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1287, allocations: 11.98 kB / 0.5981 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1287, allocations: 3.938 kB / 0.5981 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.1287, allocations: 64 / 0.5981 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.1288, allocations: 12 kB / 0.5981 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1288, allocations: 7.938 kB / 0.5981 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.1289, allocations: 11.98 kB / 0.5981 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1289, allocations: 7.938 kB / 0.5981 GB, free: 5.293 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.229e-05/0.129, allocations: 117.9 kB / 0.5983 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.129, allocations: 7.906 kB / 0.5983 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.129, allocations: 7.969 kB / 0.5983 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.129, allocations: 0 / 0.5983 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.129, allocations: 0 / 0.5983 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.129, allocations: 0 / 0.5983 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.1294, allocations: 362.4 kB / 0.5986 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1294, allocations: 0 / 0.5986 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.1294, allocations: 11.94 kB / 0.5986 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1294, allocations: 0 / 0.5986 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1294, allocations: 4 kB / 0.5986 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1294, allocations: 3.938 kB / 0.5986 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1294, allocations: 0 / 0.5986 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.1296, allocations: 179.4 kB / 0.5988 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.1296, allocations: 85.05 kB / 0.5989 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1296, allocations: 4 kB / 0.5989 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.1297, allocations: 16.11 kB / 0.5989 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1298, allocations: 7.984 kB / 0.5989 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.1298, allocations: 8.219 kB / 0.5989 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.1298, allocations: 83.27 kB / 0.599 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1298, allocations: 4 kB / 0.599 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002183/0.13, allocations: 12 kB / 0.599 GB, free: 4.293 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.0003434/0.1304, allocations: 0.7163 MB / 0.5997 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.1305, allocations: 59.91 kB / 0.5998 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1305, allocations: 3.938 kB / 0.5998 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.1306, allocations: 20 kB / 0.5998 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1308, allocations: 15.92 kB / 0.5998 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1319, allocations: 1.383 MB / 0.6012 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.1321, allocations: 0.6846 MB / 0.6018 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.1321, allocations: 11.98 kB / 0.6018 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.1322, allocations: 19.44 kB / 0.6019 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1322, allocations: 0 / 0.6019 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.107/1.239, allocations: 1.6 MB / 0.6034 GB, free: 43.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/1.239, allocations: 200.5 kB / 0.6036 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/2.678, allocations: 0 / 0.6036 GB, free: 43.45 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)