Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.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-master/package.mo", uses=false) 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.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",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.0012/0.0012, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8313/0.8313, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 59.81 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1253, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002202/0.1275, allocations: 1.404 MB / 0.5858 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007631/0.1283, allocations: 0.4959 MB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.1283, allocations: 0 / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.312e-05/0.1284, allocations: 7.922 kB / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.1285, allocations: 11.92 kB / 0.5863 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.1291, allocations: 238.5 kB / 0.5866 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1293, allocations: 135.8 kB / 0.5867 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.445e-05/0.1293, allocations: 4 kB / 0.5867 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.1294, allocations: 59.83 kB / 0.5868 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.1295, allocations: 47.83 kB / 0.5868 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.1295, allocations: 8 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.1298, allocations: 167.8 kB / 0.587 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.1298, allocations: 39.89 kB / 0.587 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.22e-05/0.1299, allocations: 55.72 kB / 0.5871 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.1302, allocations: 227.7 kB / 0.5873 GB, free: 1.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1302, allocations: 0 / 0.5873 GB, free: 1.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1302, allocations: 0 / 0.5873 GB, free: 1.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1302, allocations: 0 / 0.5873 GB, free: 1.555 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004731/0.1307, allocations: 447 kB / 0.5877 GB, free: 1.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1307, allocations: 12.02 kB / 0.5877 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.1308, allocations: 38.75 kB / 0.5878 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.1308, allocations: 12.84 kB / 0.5878 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.131, allocations: 200.1 kB / 0.588 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.131, allocations: 12.31 kB / 0.588 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1311, allocations: 12.36 kB / 0.588 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1312, allocations: 91.83 kB / 0.5881 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1312, allocations: 3.938 kB / 0.5881 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1312, allocations: 4 kB / 0.5881 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1312, allocations: 4 kB / 0.5881 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.1313, allocations: 35.92 kB / 0.5881 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.1315, allocations: 238.4 kB / 0.5884 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.755e-05/0.1316, allocations: 81.19 kB / 0.5884 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/0.1317, allocations: 57.84 kB / 0.5885 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.1317, allocations: 0 / 0.5885 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.1319, allocations: 117 kB / 0.5886 GB, free: 12 kB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.1319, allocations: 0 / 0.5886 GB, free: 12 kB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003077/0.1322, allocations: 193.9 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1323, allocations: 81.11 kB / 0.5889 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1324, allocations: 148 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1324, allocations: 37.7 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.1325, allocations: 104.5 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.1325, allocations: 39.45 kB / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.1326, allocations: 49.7 kB / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.1327, allocations: 322.8 kB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.1327, allocations: 43.98 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.1329, allocations: 209.2 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.133, allocations: 96.59 kB / 0.5899 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1331, allocations: 0 / 0.5899 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002009/0.1333, allocations: 165.4 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1333, allocations: 4 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.1333, allocations: 8 kB / 0.59 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1333, allocations: 0 / 0.59 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.1334, allocations: 11.98 kB / 0.59 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1334, allocations: 3.938 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.1337, allocations: 75.75 kB / 0.5901 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1337, allocations: 8 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.537e-05/0.1338, allocations: 137.8 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.1338, allocations: 11.84 kB / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.1338, allocations: 12.72 kB / 0.5903 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1338, allocations: 0 / 0.5903 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1338, allocations: 0 / 0.5903 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1338, allocations: 4 kB / 0.5903 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.134, allocations: 197.5 kB / 0.5905 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.134, allocations: 0 / 0.5905 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.134, allocations: 4 kB / 0.5905 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.134, allocations: 4 kB / 0.5905 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.134, allocations: 8 kB / 0.5905 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1341, allocations: 11.86 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1341, allocations: 4 kB / 0.5905 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.1343, allocations: 181.4 kB / 0.5907 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.1343, allocations: 92.86 kB / 0.5908 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1343, allocations: 0 / 0.5908 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.1344, allocations: 4 kB / 0.5908 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.1344, allocations: 16.08 kB / 0.5908 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1344, allocations: 4 kB / 0.5908 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.33e-05/0.1345, allocations: 113.8 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1345, allocations: 4 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002618/0.1348, allocations: 71.98 kB / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005114/0.1353, allocations: 0.7887 MB / 0.5917 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1355, allocations: 163.3 kB / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1355, allocations: 0 / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.134e-05/0.1356, allocations: 47.92 kB / 0.5919 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.1357, allocations: 4 kB / 0.5919 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1371, allocations: 1.696 MB / 0.5936 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.1373, allocations: 0.7106 MB / 0.5943 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.946e-05/0.1374, allocations: 8.672 kB / 0.5943 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.1374, allocations: 31.42 kB / 0.5943 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1374, allocations: 0 / 0.5943 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.043/2.181, allocations: 3.914 MB / 0.5982 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/15.27, allocations: 10.34 kB / 0.5982 GB, free: 5.93 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)