Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.0006571/0.0006571, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001035/0.001035, allocations: 208.1 kB / 22.25 MB, free: 3.574 MB / 13.93 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.004/1.004, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7812/0.7812, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00103/0.00103, allocations: 66.17 kB / 0.7181 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.5595, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002079/0.5616, allocations: 1.482 MB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009157/0.5625, allocations: 0.6172 MB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.5625, allocations: 0 / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.402e-05/0.5626, allocations: 13.84 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.5627, allocations: 20.2 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009328/0.5636, allocations: 358.4 kB / 0.8202 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.5639, allocations: 173.7 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.5639, allocations: 7.812 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.094e-05/0.564, allocations: 73.23 kB / 0.8204 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.5641, allocations: 45.84 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.5641, allocations: 15.91 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.5645, allocations: 276.6 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.5646, allocations: 45.14 kB / 0.8208 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.5646, allocations: 44.94 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.5651, allocations: 308.5 kB / 0.8211 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5651, allocations: 0 / 0.8211 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5651, allocations: 0 / 0.8211 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.5651, allocations: 0 / 0.8211 GB, free: 15.1 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006524/0.5657, allocations: 416.4 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.5658, allocations: 8.594 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.5658, allocations: 45.19 kB / 0.8216 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.5659, allocations: 9.297 kB / 0.8216 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.5661, allocations: 156.5 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.5661, allocations: 12.14 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.5661, allocations: 8.688 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.5663, allocations: 94.69 kB / 0.8219 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5663, allocations: 5.531 kB / 0.8219 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.5663, allocations: 0 / 0.8219 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5663, allocations: 1.594 kB / 0.8219 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.145e-05/0.5664, allocations: 48.44 kB / 0.8219 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.5666, allocations: 193.4 kB / 0.8221 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.5667, allocations: 105.7 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.5668, allocations: 62.64 kB / 0.8223 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.5668, allocations: 2.297 kB / 0.8223 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.5671, allocations: 141 kB / 0.8224 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 9.52e-07/0.5671, allocations: 1.594 kB / 0.8224 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0003655/0.5674, allocations: 210.7 kB / 0.8226 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.5675, allocations: 121 kB / 0.8227 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.5676, allocations: 145.8 kB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.5676, allocations: 44.56 kB / 0.8229 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.5677, allocations: 94.59 kB / 0.823 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.5677, allocations: 65.55 kB / 0.823 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.5678, allocations: 60.31 kB / 0.8231 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.5679, allocations: 331.2 kB / 0.8234 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.568, allocations: 48.16 kB / 0.8235 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.5682, allocations: 464.8 kB / 0.8239 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.5684, allocations: 134.1 kB / 0.824 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5684, allocations: 0 / 0.824 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002271/0.5686, allocations: 202.4 kB / 0.8242 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5686, allocations: 6.453 kB / 0.8242 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.5686, allocations: 8.594 kB / 0.8242 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5687, allocations: 3.062 kB / 0.8242 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/0.5687, allocations: 23.61 kB / 0.8243 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5687, allocations: 6.109 kB / 0.8243 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.5689, allocations: 46.39 kB / 0.8243 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5689, allocations: 6.578 kB / 0.8243 GB, free: 12.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001011/0.569, allocations: 140.8 kB / 0.8245 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.569, allocations: 17.88 kB / 0.8245 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.569, allocations: 17.19 kB / 0.8245 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.569, allocations: 2.328 kB / 0.8245 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5691, allocations: 1.094 kB / 0.8245 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.5691, allocations: 6.203 kB / 0.8245 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.5692, allocations: 179.3 kB / 0.8247 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5692, allocations: 0 / 0.8247 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.5692, allocations: 10.77 kB / 0.8247 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5692, allocations: 1.375 kB / 0.8247 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5692, allocations: 3.562 kB / 0.8247 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.5692, allocations: 0.6094 kB / 0.8247 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5692, allocations: 5.188 kB / 0.8247 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.5695, allocations: 212 kB / 0.8249 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.5695, allocations: 13.34 kB / 0.8249 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.5695, allocations: 2.875 kB / 0.8249 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.5695, allocations: 9.75 kB / 0.8249 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.5696, allocations: 11.62 kB / 0.8249 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.5696, allocations: 5.781 kB / 0.8249 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.993e-05/0.5697, allocations: 106.9 kB / 0.825 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5697, allocations: 0 / 0.825 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002689/0.5699, allocations: 104.7 kB / 0.8251 GB, free: 11.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006166/0.5705, allocations: 0.8425 MB / 0.826 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.5708, allocations: 204.6 kB / 0.8262 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5708, allocations: 3 kB / 0.8262 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.064e-05/0.5709, allocations: 47.14 kB / 0.8262 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.571, allocations: 24.11 kB / 0.8262 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.5725, allocations: 1.824 MB / 0.828 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.476e-05/0.5725, allocations: 104.2 kB / 0.8281 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.5726, allocations: 11.83 kB / 0.8281 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.5726, allocations: 33.2 kB / 0.8282 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.5726, allocations: 0 / 0.8282 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.5926, allocations: 5.292 MB / 0.8333 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/7.332, allocations: 7.078 kB / 0.8333 GB, free: 8.285 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.33271433180198] Failed to read output from testmodel.py, exit status != 0: 7.40963611099869 7.419906074 6.852595776 Calling exit ...