Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 209.6 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9457/0.9457, allocations: 144.9 MB / 454.5 MB, free: 9.996 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003361/0.003361, allocations: 61.09 kB / 0.6287 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2024, allocations: 87.84 MB / 0.7144 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002743/0.2051, allocations: 1.506 MB / 0.7159 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2062, allocations: 433 kB / 0.7163 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.2063, allocations: 4 kB / 0.7163 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.2064, allocations: 11.88 kB / 0.7163 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.2065, allocations: 24.22 kB / 0.7164 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.2072, allocations: 250.1 kB / 0.7166 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.2075, allocations: 311.5 kB / 0.7169 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.2076, allocations: 7.984 kB / 0.7169 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.2078, allocations: 203.6 kB / 0.7171 GB, free: 9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.2081, allocations: 120.1 kB / 0.7172 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.2081, allocations: 20 kB / 0.7172 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.83e-05/0.2082, allocations: 16 kB / 0.7173 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.2083, allocations: 87.7 kB / 0.7173 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2084, allocations: 119.4 kB / 0.7174 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.2088, allocations: 303.2 kB / 0.7177 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2088, allocations: 4 kB / 0.7177 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2088, allocations: 0 / 0.7177 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.2088, allocations: 3.938 kB / 0.7177 GB, free: 8.34 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001159/0.21, allocations: 0.7423 MB / 0.7185 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.21, allocations: 8.031 kB / 0.7185 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.521e-05/0.21, allocations: 4.188 kB / 0.7185 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.2101, allocations: 38.73 kB / 0.7185 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.245e-05/0.2102, allocations: 36.75 kB / 0.7186 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.2105, allocations: 271.8 kB / 0.7188 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.2105, allocations: 15.88 kB / 0.7188 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.2106, allocations: 19.98 kB / 0.7188 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2116, allocations: 201.5 kB / 0.719 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2116, allocations: 0 / 0.719 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.2116, allocations: 0 / 0.719 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.2117, allocations: 4 kB / 0.719 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.2125, allocations: 103.9 kB / 0.7191 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.2128, allocations: 317.3 kB / 0.7194 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2139, allocations: 158.4 kB / 0.7196 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/0.2147, allocations: 108.8 kB / 0.7197 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.2147, allocations: 4 kB / 0.7197 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009796/0.2157, allocations: 199.2 kB / 0.7199 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.2157, allocations: 8 kB / 0.7199 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.002626/0.2183, allocations: 458.6 kB / 0.7203 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.2184, allocations: 55.41 kB / 0.7204 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.2187, allocations: 290.9 kB / 0.7207 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.2188, allocations: 45.62 kB / 0.7207 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.2188, allocations: 89.14 kB / 0.7208 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.2189, allocations: 39.78 kB / 0.7208 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.219, allocations: 97.53 kB / 0.7209 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2192, allocations: 326.8 kB / 0.7212 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.2194, allocations: 83.95 kB / 0.7213 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.2196, allocations: 134.7 kB / 0.7214 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.22, allocations: 230.1 kB / 0.7217 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.22, allocations: 0 / 0.7217 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006862/0.2207, allocations: 394.6 kB / 0.722 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/0.2208, allocations: 75.39 kB / 0.7221 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2208, allocations: 4.188 kB / 0.7221 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2208, allocations: 12 kB / 0.7221 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2209, allocations: 23.91 kB / 0.7222 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.221, allocations: 4 kB / 0.7222 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.2214, allocations: 47.92 kB / 0.7222 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.2215, allocations: 43.92 kB / 0.7222 GB, free: 3.383 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002467/0.2217, allocations: 185.6 kB / 0.7224 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.2218, allocations: 27.81 kB / 0.7225 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.2219, allocations: 30.3 kB / 0.7225 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2219, allocations: 4 kB / 0.7225 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2219, allocations: 0 / 0.7225 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2219, allocations: 0 / 0.7225 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.2242, allocations: 0.6952 MB / 0.7232 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2242, allocations: 0 / 0.7232 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.2242, allocations: 4 kB / 0.7232 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.2242, allocations: 3.938 kB / 0.7232 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.2242, allocations: 19.97 kB / 0.7232 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2242, allocations: 0 / 0.7232 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2242, allocations: 3.938 kB / 0.7232 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.2261, allocations: 443.6 kB / 0.7236 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.2263, allocations: 168.8 kB / 0.7238 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.2264, allocations: 8 kB / 0.7238 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.2268, allocations: 39.95 kB / 0.7238 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.2269, allocations: 11.92 kB / 0.7238 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.2269, allocations: 39.98 kB / 0.7239 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002144/0.2272, allocations: 209.9 kB / 0.7241 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2272, allocations: 0 / 0.7241 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003276/0.2275, allocations: 48 kB / 0.7241 GB, free: 1.359 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002176/0.2297, allocations: 0.9969 MB / 0.7251 GB, free: 344 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.2309, allocations: 354.5 kB / 0.7254 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2309, allocations: 0 / 0.7254 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007788/0.2317, allocations: 99.92 kB / 0.7255 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.232, allocations: 41.62 kB / 0.7256 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/0.236, allocations: 2.392 MB / 0.7279 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.2363, allocations: 0.7357 MB / 0.7286 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.854e-05/0.2364, allocations: 13.08 kB / 0.7286 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.2365, allocations: 31.42 kB / 0.7287 GB, free: 12.51 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.2365, allocations: 0 / 0.7287 GB, free: 12.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.2599, allocations: 4.889 MB / 0.7334 GB, free: 7.734 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.492/8.751, allocations: 15.2 kB / 0.7334 GB, free: 7.727 MB / 0.545 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.619737238041125] Failed to read output from testmodel.py, exit status != 0: 8.878014294954482 8.890984497 8.679284972 Calling exit ...