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.001314/0.001314, allocations: 104.5 kB / 16.45 MB, free: 6.457 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.001341/0.001341, allocations: 199.6 kB / 19.41 MB, free: 3.645 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.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 13.93 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/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.066/1.066, allocations: 175.8 MB / 478.5 MB, free: 8.473 MB / 382.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-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: "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 68.23 kB / 0.6652 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1815, allocations: 94.54 MB / 0.7575 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002827/0.1843, allocations: 1.523 MB / 0.759 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3643/0.5486, allocations: 0.5352 MB / 0.7595 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.5487, allocations: 3.938 kB / 0.7595 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.5488, allocations: 9.406 kB / 0.7595 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.5489, allocations: 33.14 kB / 0.7595 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008416/0.5497, allocations: 308.6 kB / 0.7598 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005459/0.5503, allocations: 483.7 kB / 0.7603 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.5503, allocations: 7.969 kB / 0.7603 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.5507, allocations: 280.6 kB / 0.7606 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.5509, allocations: 148.1 kB / 0.7607 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.175e-05/0.551, allocations: 27.28 kB / 0.7607 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.597e-05/0.5511, allocations: 25.97 kB / 0.7608 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.5513, allocations: 115.2 kB / 0.7609 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.5514, allocations: 187.5 kB / 0.761 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.5519, allocations: 420.9 kB / 0.7614 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5519, allocations: 1.188 kB / 0.7614 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.285e-06/0.5519, allocations: 1.141 kB / 0.7615 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.5519, allocations: 0 / 0.7615 GB, free: 7.82 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.001093/0.553, allocations: 0.8783 MB / 0.7623 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.553, allocations: 9.875 kB / 0.7623 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.5531, allocations: 44.34 kB / 0.7624 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.5532, allocations: 54.94 kB / 0.7624 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.5536, allocations: 307.6 kB / 0.7627 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.5536, allocations: 18.56 kB / 0.7627 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.5537, allocations: 25.05 kB / 0.7627 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.5546, allocations: 212.5 kB / 0.763 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.5546, allocations: 4.75 kB / 0.763 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.5547, allocations: 2.188 kB / 0.763 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5547, allocations: 8.969 kB / 0.763 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007208/0.5554, allocations: 98.2 kB / 0.7631 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.5558, allocations: 393 kB / 0.7634 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.5567, allocations: 165.7 kB / 0.7636 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006643/0.5574, allocations: 104.6 kB / 0.7637 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.5574, allocations: 3.344 kB / 0.7637 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008586/0.5582, allocations: 227.7 kB / 0.7639 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.5582, allocations: 0 / 0.7639 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002315/0.5605, allocations: 488.8 kB / 0.7644 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.5606, allocations: 61.94 kB / 0.7644 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.5609, allocations: 412.8 kB / 0.7648 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.561, allocations: 39.78 kB / 0.7649 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.561, allocations: 97.42 kB / 0.765 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.5611, allocations: 39.22 kB / 0.765 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.5612, allocations: 133.3 kB / 0.7651 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.042e-05/0.5613, allocations: 322.6 kB / 0.7654 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.5615, allocations: 120.3 kB / 0.7655 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.5618, allocations: 169.8 kB / 0.7657 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.5621, allocations: 283.3 kB / 0.766 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5621, allocations: 0 / 0.766 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000731/0.5628, allocations: 493.1 kB / 0.7665 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.83e-05/0.5629, allocations: 92.55 kB / 0.7665 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.5629, allocations: 1.75 kB / 0.7665 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5629, allocations: 2.438 kB / 0.7665 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.5631, allocations: 27.14 kB / 0.7666 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.5631, allocations: 2.312 kB / 0.7666 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.5636, allocations: 56.44 kB / 0.7666 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/0.5637, allocations: 67.19 kB / 0.7667 GB, free: 5.406 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.0002048/0.5639, allocations: 198.2 kB / 0.7669 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.564, allocations: 44.22 kB / 0.7669 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.564, allocations: 42.97 kB / 0.767 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.564, allocations: 2.375 kB / 0.767 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.564, allocations: 0 / 0.767 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.564, allocations: 0.9844 kB / 0.767 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.566, allocations: 0.7536 MB / 0.7677 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.566, allocations: 1 kB / 0.7677 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.5661, allocations: 7.5 kB / 0.7677 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5661, allocations: 4.344 kB / 0.7677 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.5661, allocations: 22.23 kB / 0.7677 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5661, allocations: 1.312 kB / 0.7677 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5661, allocations: 6.156 kB / 0.7677 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.5676, allocations: 468.7 kB / 0.7682 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.5679, allocations: 209 kB / 0.7684 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.568, allocations: 10.36 kB / 0.7684 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.5684, allocations: 28.64 kB / 0.7684 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.5684, allocations: 10.78 kB / 0.7684 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/0.5685, allocations: 56.94 kB / 0.7685 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002758/0.5688, allocations: 298.6 kB / 0.7688 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5688, allocations: 0 / 0.7688 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003738/0.5692, allocations: 65.36 kB / 0.7688 GB, free: 4.555 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.001833/0.571, allocations: 1.03 MB / 0.7698 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.5721, allocations: 411.6 kB / 0.7702 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5721, allocations: 0 / 0.7702 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.5728, allocations: 111.2 kB / 0.7703 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.5731, allocations: 28.92 kB / 0.7704 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.5772, allocations: 2.794 MB / 0.7731 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.5776, allocations: 0.7758 MB / 0.7739 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.855e-05/0.5777, allocations: 14.66 kB / 0.7739 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.5778, allocations: 25.09 kB / 0.7739 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.5778, allocations: 2.688 kB / 0.7739 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.6087, allocations: 6.192 MB / 0.7799 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.739, allocations: 9.5 kB / 0.78 GB, free: 15.83 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.858932971023023] Failed to read output from testmodel.py, exit status != 0: 8.812600216828287 8.836637744 8.280118681 Calling exit ...