Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 109.8 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8362/0.8362, allocations: 134 MB / 436.6 MB, free: 1.273 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 72.91 kB / 0.6051 GB, free: 15.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1992, allocations: 84.67 MB / 0.6878 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002768/0.202, allocations: 1.479 MB / 0.6892 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.2029, allocations: 431.3 kB / 0.6896 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.203, allocations: 3.938 kB / 0.6896 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.2031, allocations: 7.875 kB / 0.6896 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.2032, allocations: 28.22 kB / 0.6897 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.2039, allocations: 233.3 kB / 0.6899 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.2043, allocations: 303.5 kB / 0.6902 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.182e-05/0.2043, allocations: 7.984 kB / 0.6902 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.2046, allocations: 195.7 kB / 0.6904 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.2048, allocations: 115 kB / 0.6905 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.416e-05/0.2049, allocations: 16 kB / 0.6905 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-05/0.2049, allocations: 20 kB / 0.6905 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.205, allocations: 79.72 kB / 0.6906 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.2052, allocations: 119.4 kB / 0.6907 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.2055, allocations: 291.2 kB / 0.691 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2055, allocations: 0 / 0.691 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2055, allocations: 0 / 0.691 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2055, allocations: 3.938 kB / 0.691 GB, free: 7.949 MB / 0.5137 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.001236/0.2068, allocations: 0.7115 MB / 0.6917 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2068, allocations: 12.03 kB / 0.6917 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.206e-05/0.2069, allocations: 30.75 kB / 0.6917 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.63e-05/0.2069, allocations: 32.8 kB / 0.6918 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.2073, allocations: 267.8 kB / 0.692 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.2073, allocations: 8.125 kB / 0.692 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.2074, allocations: 23.98 kB / 0.692 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.2077, allocations: 153.3 kB / 0.6922 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2077, allocations: 3.938 kB / 0.6922 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.2077, allocations: 0 / 0.6922 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.2078, allocations: 4 kB / 0.6922 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.2079, allocations: 47.97 kB / 0.6922 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.2083, allocations: 309.4 kB / 0.6925 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.2085, allocations: 118.6 kB / 0.6926 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.2087, allocations: 52.78 kB / 0.6927 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.2087, allocations: 0 / 0.6927 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005485/0.2092, allocations: 223.7 kB / 0.6929 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.2092, allocations: 0 / 0.6929 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006207/0.2099, allocations: 271.3 kB / 0.6932 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.2099, allocations: 59.41 kB / 0.6932 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.2102, allocations: 290.9 kB / 0.6935 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.2103, allocations: 41.69 kB / 0.6935 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.2103, allocations: 89.14 kB / 0.6936 GB, free: 5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.2104, allocations: 51.61 kB / 0.6937 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.2106, allocations: 109.7 kB / 0.6938 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2107, allocations: 326.8 kB / 0.6941 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.211, allocations: 92.17 kB / 0.6942 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.2112, allocations: 142.4 kB / 0.6943 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.2116, allocations: 245.2 kB / 0.6946 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2116, allocations: 4 kB / 0.6946 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007528/0.2123, allocations: 412.7 kB / 0.695 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.439e-05/0.2124, allocations: 75.39 kB / 0.695 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2124, allocations: 0 / 0.695 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.2124, allocations: 4 kB / 0.695 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.2126, allocations: 27.91 kB / 0.6951 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.2127, allocations: 7.984 kB / 0.6951 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.2132, allocations: 67.94 kB / 0.6951 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/0.2132, allocations: 51.98 kB / 0.6952 GB, free: 3.312 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0002497/0.2135, allocations: 173.7 kB / 0.6953 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.2135, allocations: 31.75 kB / 0.6954 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.2136, allocations: 26.25 kB / 0.6954 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2136, allocations: 4 kB / 0.6954 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.2136, allocations: 4 kB / 0.6954 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2136, allocations: 0 / 0.6954 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009505/0.2146, allocations: 0.5634 MB / 0.696 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2146, allocations: 4 kB / 0.696 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.2146, allocations: 7.984 kB / 0.696 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2146, allocations: 0 / 0.696 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.2147, allocations: 15.98 kB / 0.696 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2147, allocations: 0 / 0.696 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2147, allocations: 0 / 0.696 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.2152, allocations: 335 kB / 0.6963 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.2154, allocations: 160.8 kB / 0.6965 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/0.2155, allocations: 11.98 kB / 0.6965 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2157, allocations: 7.984 kB / 0.6965 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.2158, allocations: 15.98 kB / 0.6965 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.52e-05/0.2158, allocations: 27.98 kB / 0.6965 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002521/0.2161, allocations: 209.9 kB / 0.6967 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.2161, allocations: 0 / 0.6967 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003829/0.2165, allocations: 48 kB / 0.6968 GB, free: 1.594 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.001005/0.2175, allocations: 0.879 MB / 0.6976 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000627/0.2181, allocations: 313.2 kB / 0.6979 GB, free: 364 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2181, allocations: 0 / 0.6979 GB, free: 364 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.2183, allocations: 63.91 kB / 0.698 GB, free: 300 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.2187, allocations: 34.62 kB / 0.698 GB, free: 264 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.2225, allocations: 2.398 MB / 0.7004 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.223, allocations: 0.7474 MB / 0.7011 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.2231, allocations: 33.42 kB / 0.7011 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.2232, allocations: 51.41 kB / 0.7012 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/0.2232, allocations: 0 / 0.7012 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.2532, allocations: 5.301 MB / 0.7063 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.232/8.485, allocations: 9.156 kB / 0.7063 GB, free: 7.695 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.537883141078055] Failed to read output from testmodel.py, exit status != 0: 8.55733306799084 8.581780948 8.371841385 Calling exit ...