Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001212/0.001212, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001384/0.001384, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8451/0.8451, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00139/0.00139, allocations: 241.2 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6549/0.6549, allocations: 138.4 MB / 454.3 MB, free: 29.99 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6462 GB, free: 1.988 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.788e-05, allocations: 2.281 kB / 0.6462 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.001723/0.001741, allocations: 1.538 MB / 0.6477 GB, free: 444 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2379/0.2397, allocations: 0.5315 MB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.2398, allocations: 0 / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.2399, allocations: 8.531 kB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.24, allocations: 29.73 kB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008105/0.2408, allocations: 315.7 kB / 0.6486 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.2413, allocations: 490.8 kB / 0.6491 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.2413, allocations: 3.469 kB / 0.6491 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.2417, allocations: 356.7 kB / 0.6494 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.242, allocations: 129 kB / 0.6495 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.242, allocations: 31.66 kB / 0.6496 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.2421, allocations: 27.09 kB / 0.6496 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.2422, allocations: 120 kB / 0.6497 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.2424, allocations: 127.9 kB / 0.6498 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.2428, allocations: 463.2 kB / 0.6503 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2428, allocations: 1.688 kB / 0.6503 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2428, allocations: 0 / 0.6503 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2428, allocations: 0.5938 kB / 0.6503 GB, free: 55.73 MB / 0.5573 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.0008023/0.2436, allocations: 0.795 MB / 0.651 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2436, allocations: 10.59 kB / 0.6511 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.2437, allocations: 39.55 kB / 0.6511 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.577e-05/0.2437, allocations: 53.61 kB / 0.6511 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.244, allocations: 260.3 kB / 0.6514 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.244, allocations: 17.8 kB / 0.6514 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.2441, allocations: 29.27 kB / 0.6514 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.2446, allocations: 225 kB / 0.6517 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2446, allocations: 1.719 kB / 0.6517 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.2446, allocations: 8.422 kB / 0.6517 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2447, allocations: 5.969 kB / 0.6517 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.245, allocations: 115.5 kB / 0.6518 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.2453, allocations: 302.3 kB / 0.6521 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.2458, allocations: 186 kB / 0.6522 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.2462, allocations: 120.2 kB / 0.6524 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.2462, allocations: 3.438 kB / 0.6524 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/0.2467, allocations: 243.7 kB / 0.6526 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.2467, allocations: 0 / 0.6526 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.00129/0.248, allocations: 0.5208 MB / 0.6531 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2481, allocations: 70.39 kB / 0.6532 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.2484, allocations: 406.6 kB / 0.6536 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.2484, allocations: 41.77 kB / 0.6536 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.2485, allocations: 98.5 kB / 0.6537 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.2485, allocations: 41.23 kB / 0.6537 GB, free: 54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.2486, allocations: 125.8 kB / 0.6539 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.2487, allocations: 322.6 kB / 0.6542 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.2489, allocations: 191.8 kB / 0.6543 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.2491, allocations: 248.1 kB / 0.6546 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.2493, allocations: 278 kB / 0.6548 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2493, allocations: 0 / 0.6548 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005455/0.2498, allocations: 0.5604 MB / 0.6554 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.2499, allocations: 80.84 kB / 0.6555 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2499, allocations: 1.5 kB / 0.6555 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2499, allocations: 7.094 kB / 0.6555 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.25, allocations: 24.03 kB / 0.6555 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.25, allocations: 2.875 kB / 0.6555 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.2503, allocations: 68.8 kB / 0.6556 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.2504, allocations: 62.16 kB / 0.6556 GB, free: 52.81 MB / 0.5573 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.0001933/0.2506, allocations: 201.5 kB / 0.6558 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.2506, allocations: 38.03 kB / 0.6559 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.2507, allocations: 43.5 kB / 0.6559 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2507, allocations: 5.75 kB / 0.6559 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2507, allocations: 0 / 0.6559 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2507, allocations: 1.359 kB / 0.6559 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.2519, allocations: 0.7374 MB / 0.6566 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2519, allocations: 7.938 kB / 0.6566 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.2519, allocations: 6.828 kB / 0.6566 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2519, allocations: 0 / 0.6566 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.2519, allocations: 26.8 kB / 0.6567 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2519, allocations: 0 / 0.6567 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2519, allocations: 0 / 0.6567 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/0.2528, allocations: 0.4986 MB / 0.6571 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.253, allocations: 142.2 kB / 0.6573 GB, free: 52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.253, allocations: 10.7 kB / 0.6573 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.2533, allocations: 38.12 kB / 0.6573 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.2533, allocations: 13.27 kB / 0.6573 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.2533, allocations: 61.14 kB / 0.6574 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002039/0.2535, allocations: 293.4 kB / 0.6577 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2535, allocations: 7.938 kB / 0.6577 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003104/0.2538, allocations: 67.06 kB / 0.6578 GB, free: 51.83 MB / 0.5573 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.001008/0.2549, allocations: 1.048 MB / 0.6588 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007627/0.2556, allocations: 498.8 kB / 0.6593 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2556, allocations: 1.531 kB / 0.6593 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.256, allocations: 130 kB / 0.6594 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.2562, allocations: 23.92 kB / 0.6594 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.2589, allocations: 3.118 MB / 0.6624 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.2591, allocations: 165.6 kB / 0.6626 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.674e-05/0.2591, allocations: 16.84 kB / 0.6626 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.2592, allocations: 27.25 kB / 0.6626 GB, free: 48.57 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/0.2592, allocations: 0 / 0.6626 GB, free: 48.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.279, allocations: 8.067 MB / 0.6705 GB, free: 46.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.466/6.745, allocations: 6.031 kB / 0.6705 GB, free: 46.52 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.350955061614513] Failed to read output from testmodel.py, exit status != 0: 6.824066359549761 6.833159768 6.588353128 Calling exit ...