Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005616/0.005616, allocations: 101.2 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 191.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7901/0.7901, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 65.42 kB / 0.5808 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1411, allocations: 80.2 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002442/0.1436, allocations: 1.484 MB / 0.6606 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1447, allocations: 0.6876 MB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.1448, allocations: 8 kB / 0.6613 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.856e-05/0.1448, allocations: 7.922 kB / 0.6613 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.175e-05/0.1449, allocations: 15.86 kB / 0.6613 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000873/0.1458, allocations: 346.3 kB / 0.6616 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.146, allocations: 167.6 kB / 0.6618 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.1461, allocations: 11.98 kB / 0.6618 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.1462, allocations: 67.88 kB / 0.6619 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.312e-05/0.1463, allocations: 59.69 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.1463, allocations: 12 kB / 0.6619 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003473/0.1467, allocations: 247.8 kB / 0.6622 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.1467, allocations: 39.89 kB / 0.6622 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.1468, allocations: 59.72 kB / 0.6623 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.1472, allocations: 303.4 kB / 0.6626 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1472, allocations: 3.938 kB / 0.6626 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1472, allocations: 0 / 0.6626 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1473, allocations: 4 kB / 0.6626 GB, free: 7.293 MB / 0.4981 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.0006408/0.1479, allocations: 478.5 kB / 0.663 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1479, allocations: 8.031 kB / 0.663 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.148, allocations: 42.73 kB / 0.6631 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.148, allocations: 12.84 kB / 0.6631 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.1483, allocations: 212.2 kB / 0.6633 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1483, allocations: 8.375 kB / 0.6633 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1483, allocations: 8.375 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1485, allocations: 102.3 kB / 0.6634 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1485, allocations: 3.938 kB / 0.6634 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1485, allocations: 8 kB / 0.6634 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1486, allocations: 0 / 0.6634 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.691e-05/0.1487, allocations: 43.97 kB / 0.6635 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.1489, allocations: 263.2 kB / 0.6637 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1491, allocations: 103.9 kB / 0.6638 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1492, allocations: 74.64 kB / 0.6639 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.1492, allocations: 3.984 kB / 0.6639 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.1495, allocations: 136.7 kB / 0.664 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 4.198e-06/0.1495, allocations: 0 / 0.664 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003971/0.1499, allocations: 217.4 kB / 0.6642 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.15, allocations: 122.8 kB / 0.6643 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1501, allocations: 136 kB / 0.6645 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.1501, allocations: 45.7 kB / 0.6645 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.1502, allocations: 96.69 kB / 0.6646 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.1503, allocations: 51.59 kB / 0.6647 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.1504, allocations: 61.69 kB / 0.6647 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1505, allocations: 326.8 kB / 0.665 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-05/0.1506, allocations: 56.25 kB / 0.6651 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1509, allocations: 184.4 kB / 0.6653 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.151, allocations: 129.2 kB / 0.6654 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1511, allocations: 0 / 0.6654 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002969/0.1514, allocations: 208 kB / 0.6656 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1514, allocations: 4 kB / 0.6656 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.1514, allocations: 8 kB / 0.6656 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1514, allocations: 4 kB / 0.6656 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.1515, allocations: 15.92 kB / 0.6656 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1515, allocations: 4 kB / 0.6656 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.1517, allocations: 47.8 kB / 0.6657 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1518, allocations: 8 kB / 0.6657 GB, free: 3.785 MB / 0.4981 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.0001224/0.1519, allocations: 140.8 kB / 0.6658 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.1519, allocations: 15.94 kB / 0.6658 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.152, allocations: 16.72 kB / 0.6658 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.152, allocations: 4 kB / 0.6658 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.152, allocations: 0 / 0.6658 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.152, allocations: 0 / 0.6658 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1522, allocations: 213.4 kB / 0.666 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1522, allocations: 0 / 0.666 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.1522, allocations: 12 kB / 0.6661 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1522, allocations: 0 / 0.6661 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1523, allocations: 7.984 kB / 0.6661 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1523, allocations: 3.938 kB / 0.6661 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1523, allocations: 4 kB / 0.6661 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.1525, allocations: 211.5 kB / 0.6663 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.1526, allocations: 89 kB / 0.6664 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.1526, allocations: 11.98 kB / 0.6664 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.1527, allocations: 7.938 kB / 0.6664 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.1527, allocations: 15.98 kB / 0.6664 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1528, allocations: 4 kB / 0.6664 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.213e-05/0.1528, allocations: 107.2 kB / 0.6665 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1528, allocations: 0 / 0.6665 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003172/0.1532, allocations: 103.8 kB / 0.6666 GB, free: 2.73 MB / 0.4981 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.0007488/0.1539, allocations: 0.8514 MB / 0.6674 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1543, allocations: 216.9 kB / 0.6676 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1543, allocations: 4 kB / 0.6676 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.1544, allocations: 55.91 kB / 0.6677 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.1545, allocations: 16.2 kB / 0.6677 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1564, allocations: 1.851 MB / 0.6695 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1568, allocations: 0.7045 MB / 0.6702 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.1568, allocations: 12.88 kB / 0.6702 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.1569, allocations: 39.38 kB / 0.6702 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1569, allocations: 0 / 0.6702 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05536/0.2122, allocations: 4.579 MB / 0.6747 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/7.934, allocations: 25.41 kB / 0.6747 GB, free: 10.38 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)