Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001947/0.001947, allocations: 114.2 kB / 18.94 MB, free: 2.785 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.002342/0.002342, allocations: 193.8 kB / 22.23 MB, free: 5.227 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.515/1.515, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.128/1.128, allocations: 177.9 MB / 484.2 MB, free: 5.383 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 59.12 kB / 0.6739 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7036/0.7056, allocations: 95.17 MB / 0.7669 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002676/0.7082, allocations: 1.518 MB / 0.7684 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.7095, allocations: 0.5464 MB / 0.7689 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.7096, allocations: 3.938 kB / 0.7689 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.775e-05/0.7097, allocations: 11.25 kB / 0.7689 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.7098, allocations: 27.3 kB / 0.7689 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.7105, allocations: 310.9 kB / 0.7692 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000497/0.711, allocations: 485.2 kB / 0.7697 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.7111, allocations: 7.422 kB / 0.7697 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.7114, allocations: 274.5 kB / 0.77 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.7117, allocations: 156.7 kB / 0.7701 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.7118, allocations: 26.56 kB / 0.7702 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.822e-05/0.7119, allocations: 26.84 kB / 0.7702 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.7121, allocations: 115.6 kB / 0.7703 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.7122, allocations: 186.2 kB / 0.7705 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.7127, allocations: 426.9 kB / 0.7709 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7127, allocations: 4.938 kB / 0.7709 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7127, allocations: 0 / 0.7709 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.7127, allocations: 0 / 0.7709 GB, free: 6.027 MB / 0.5762 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.001181/0.7139, allocations: 0.8118 MB / 0.7717 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7139, allocations: 9.031 kB / 0.7717 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.7141, allocations: 50.61 kB / 0.7717 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.7145, allocations: 257 kB / 0.772 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.7145, allocations: 18.89 kB / 0.772 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.434e-05/0.7146, allocations: 30.03 kB / 0.772 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.7157, allocations: 212.3 kB / 0.7722 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.7157, allocations: 8.125 kB / 0.7722 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.7157, allocations: 10.72 kB / 0.7722 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.7157, allocations: 1.5 kB / 0.7722 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.7166, allocations: 100.4 kB / 0.7723 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.717, allocations: 355.4 kB / 0.7727 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.7182, allocations: 171.7 kB / 0.7728 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008298/0.719, allocations: 99.05 kB / 0.7729 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.719, allocations: 6.125 kB / 0.7729 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.7201, allocations: 222.3 kB / 0.7732 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.7201, allocations: 0.8438 kB / 0.7732 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002935/0.723, allocations: 494.7 kB / 0.7736 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.7231, allocations: 56.84 kB / 0.7737 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.7236, allocations: 419.3 kB / 0.7741 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.75e-05/0.7237, allocations: 40.77 kB / 0.7741 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.7237, allocations: 95.61 kB / 0.7742 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.7238, allocations: 36.39 kB / 0.7742 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.724, allocations: 131.7 kB / 0.7744 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.131e-05/0.7241, allocations: 320.8 kB / 0.7747 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.7244, allocations: 116.1 kB / 0.7748 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.7247, allocations: 174.3 kB / 0.775 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.7251, allocations: 281.1 kB / 0.7752 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7251, allocations: 0.9688 kB / 0.7752 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009451/0.726, allocations: 493 kB / 0.7757 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.7261, allocations: 95.64 kB / 0.7758 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.7261, allocations: 1.312 kB / 0.7758 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.7261, allocations: 7.25 kB / 0.7758 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.7263, allocations: 25.28 kB / 0.7758 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.7263, allocations: 2.094 kB / 0.7758 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.7268, allocations: 58.44 kB / 0.7759 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.7269, allocations: 62.06 kB / 0.7759 GB, free: 3.098 MB / 0.5762 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.0002566/0.7272, allocations: 191.8 kB / 0.7761 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.7273, allocations: 45.91 kB / 0.7762 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.116e-05/0.7273, allocations: 42.06 kB / 0.7762 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7273, allocations: 6.25 kB / 0.7762 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.7273, allocations: 0 / 0.7762 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.7274, allocations: 7.062 kB / 0.7762 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.7297, allocations: 0.7188 MB / 0.7769 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7297, allocations: 4 kB / 0.7769 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.7297, allocations: 4.219 kB / 0.7769 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.7297, allocations: 4 kB / 0.7769 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.7297, allocations: 22.69 kB / 0.7769 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.7297, allocations: 1.703 kB / 0.7769 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7298, allocations: 0 / 0.7769 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.7315, allocations: 481.2 kB / 0.7774 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.7318, allocations: 138.3 kB / 0.7775 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.7319, allocations: 9.094 kB / 0.7775 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.7324, allocations: 27.84 kB / 0.7776 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.7324, allocations: 17.16 kB / 0.7776 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.207e-05/0.7325, allocations: 56.06 kB / 0.7776 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003036/0.7328, allocations: 295.7 kB / 0.7779 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7328, allocations: 0 / 0.7779 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004343/0.7332, allocations: 63.38 kB / 0.778 GB, free: 2.109 MB / 0.5762 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.0001477/0.7334, allocations: 117 kB / 0.7781 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.7348, allocations: 410.1 kB / 0.7785 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7348, allocations: 0 / 0.7785 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008138/0.7356, allocations: 114.5 kB / 0.7786 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.736, allocations: 31.98 kB / 0.7786 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.7377, allocations: 0.552 MB / 0.7792 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.738, allocations: 0.7721 MB / 0.7799 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.791e-05/0.7381, allocations: 9.531 kB / 0.7799 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.7382, allocations: 20.11 kB / 0.7799 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of SimCode: time 1.943e-06/0.7382, allocations: 0 / 0.7799 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.01234/0.7505, allocations: 5.09 MB / 0.7849 GB, free: 15.83 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.774389464408159] Failed to read output from testmodel.py, exit status != 0: 0.759590033441782 0.774772865 0.059041237 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fca4d7dd7b0>