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.001089/0.001089, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001307/0.001307, allocations: 208.1 kB / 22.24 MB, free: 3.59 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 0.924/0.924, allocations: 230.6 MB / 256 MB, free: 9.621 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.7984/0.7984, 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.001029/0.001029, allocations: 65.88 kB / 0.7181 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5248, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00184/0.5267, allocations: 1.468 MB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008433/0.5275, allocations: 0.6248 MB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.5276, allocations: 0 / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.012e-05/0.5276, allocations: 12.12 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.8e-05/0.5277, allocations: 16.44 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.5286, allocations: 368.1 kB / 0.8202 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.5288, allocations: 173.5 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/0.5288, allocations: 8.609 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.5289, allocations: 72.44 kB / 0.8204 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.529, allocations: 46.27 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.529, allocations: 10.62 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.5294, allocations: 277.5 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.5295, allocations: 41.23 kB / 0.8208 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.5296, allocations: 51.28 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.5299, allocations: 305.9 kB / 0.8211 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5299, allocations: 7.938 kB / 0.8211 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5299, allocations: 0 / 0.8211 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.5299, allocations: 0 / 0.8211 GB, free: 15.09 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.0004752/0.5304, allocations: 417.1 kB / 0.8215 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.5304, allocations: 9.156 kB / 0.8216 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.5305, allocations: 36.67 kB / 0.8216 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.5305, allocations: 11.48 kB / 0.8216 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.5307, allocations: 158.9 kB / 0.8217 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.5307, allocations: 5.75 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.5307, allocations: 16.78 kB / 0.8218 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.5309, allocations: 95.67 kB / 0.8219 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.5309, allocations: 3.938 kB / 0.8219 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.5309, allocations: 5.391 kB / 0.8219 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5309, allocations: 1.281 kB / 0.8219 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.439e-05/0.531, allocations: 45.09 kB / 0.8219 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.5312, allocations: 189.1 kB / 0.8221 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.5313, allocations: 103.6 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.5313, allocations: 60.97 kB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.5314, allocations: 1.766 kB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.5316, allocations: 146.1 kB / 0.8224 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 1.173e-06/0.5316, allocations: 0 / 0.8224 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0003261/0.5319, allocations: 220.5 kB / 0.8226 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.532, allocations: 120.2 kB / 0.8227 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.998e-05/0.5321, allocations: 150.5 kB / 0.8229 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.5321, allocations: 34.75 kB / 0.8229 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.5321, allocations: 96.08 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.5322, allocations: 60.25 kB / 0.823 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.5323, allocations: 61 kB / 0.8231 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.5324, allocations: 328.7 kB / 0.8234 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.5324, allocations: 54.73 kB / 0.8235 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.5327, allocations: 460.6 kB / 0.8239 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.5329, allocations: 136.4 kB / 0.824 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5329, allocations: 1.219 kB / 0.824 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002265/0.5331, allocations: 198.9 kB / 0.8242 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5331, allocations: 4.625 kB / 0.8242 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.5331, allocations: 5.219 kB / 0.8242 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5332, allocations: 2.719 kB / 0.8242 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.228e-05/0.5332, allocations: 19.23 kB / 0.8243 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.5332, allocations: 1.938 kB / 0.8243 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.5334, allocations: 51.53 kB / 0.8243 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.5334, allocations: 9.906 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.0001028/0.5335, allocations: 140.7 kB / 0.8245 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.5335, allocations: 21.5 kB / 0.8245 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.5336, allocations: 13.52 kB / 0.8245 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5336, allocations: 2.75 kB / 0.8245 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5336, allocations: 1.406 kB / 0.8245 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5336, allocations: 0.7969 kB / 0.8245 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.5337, allocations: 184 kB / 0.8247 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5337, allocations: 5.281 kB / 0.8247 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.5337, allocations: 9.094 kB / 0.8247 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5337, allocations: 2.312 kB / 0.8247 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.5337, allocations: 7 kB / 0.8247 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5337, allocations: 1.531 kB / 0.8247 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5337, allocations: 1.438 kB / 0.8247 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.534, allocations: 207.3 kB / 0.8249 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.534, allocations: 12.45 kB / 0.8249 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.534, allocations: 3.219 kB / 0.8249 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.534, allocations: 17.75 kB / 0.8249 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.5341, allocations: 10.53 kB / 0.8249 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.5341, allocations: 6.984 kB / 0.8249 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.511e-05/0.5341, allocations: 100.6 kB / 0.825 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5341, allocations: 1.469 kB / 0.825 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000268/0.5344, allocations: 104.5 kB / 0.8251 GB, free: 11.84 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.0005615/0.535, allocations: 0.8409 MB / 0.826 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.5352, allocations: 204.1 kB / 0.8262 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5352, allocations: 0 / 0.8262 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.1e-05/0.5353, allocations: 54.02 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.0001446/0.5354, allocations: 17.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.001701/0.5371, allocations: 1.834 MB / 0.828 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.103e-05/0.5372, allocations: 95.89 kB / 0.8281 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.136e-05/0.5373, allocations: 11.67 kB / 0.8281 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.5373, allocations: 33.62 kB / 0.8281 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.5373, allocations: 0 / 0.8281 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.5601, allocations: 5.296 MB / 0.8333 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/7.27, allocations: 18.5 kB / 0.8333 GB, free: 8.277 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 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.268342307768762] Failed to read output from testmodel.py, exit status != 0: 7.351814465131611 7.362647179 6.83049592 Calling exit ...