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.001212/0.001212, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001236/0.001237, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9924/0.9924, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003708, allocations: 14 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2169, allocations: 82.3 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001583/0.2186, allocations: 1.112 MB / 0.5884 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.2193, allocations: 438.8 kB / 0.5888 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.2194, allocations: 4 kB / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.448e-05/0.2195, allocations: 7.922 kB / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.2195, allocations: 11.98 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.2202, allocations: 182.8 kB / 0.589 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.2203, allocations: 95.83 kB / 0.5891 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.971e-05/0.2204, allocations: 7.984 kB / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.2205, allocations: 51.84 kB / 0.5891 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.307e-05/0.2206, allocations: 47.81 kB / 0.5892 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.2206, allocations: 8 kB / 0.5892 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.2208, allocations: 127.9 kB / 0.5893 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.2209, allocations: 35.89 kB / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.221, allocations: 41.7 kB / 0.5894 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.2212, allocations: 167.9 kB / 0.5895 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.2212, allocations: 0 / 0.5895 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2212, allocations: 0 / 0.5895 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2212, allocations: 0 / 0.5895 GB, free: 0.7305 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.0005824/0.2218, allocations: 426.9 kB / 0.5899 GB, free: 272 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2219, allocations: 8.031 kB / 0.5899 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.2219, allocations: 34.56 kB / 0.59 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.222, allocations: 15.81 kB / 0.59 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.2223, allocations: 210.8 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2223, allocations: 4 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.2223, allocations: 12 kB / 0.5902 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.2225, allocations: 83.33 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2225, allocations: 0 / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2225, allocations: 3.938 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2225, allocations: 4 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.2226, allocations: 35.97 kB / 0.5903 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.2229, allocations: 234.5 kB / 0.5906 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.223, allocations: 85.17 kB / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.223, allocations: 0 / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.2233, allocations: 113.1 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.2233, allocations: 0 / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004217/0.2237, allocations: 351.6 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.2238, allocations: 89.05 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2239, allocations: 151.7 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.224, allocations: 33.7 kB / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.2241, allocations: 104.5 kB / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.2241, allocations: 31.55 kB / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.2241, allocations: 8 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2243, allocations: 326.8 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.836e-05/0.2244, allocations: 44.17 kB / 0.5918 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.2246, allocations: 191.8 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.621e-05/0.2247, allocations: 59.94 kB / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2247, allocations: 0 / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002476/0.225, allocations: 161.3 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.225, allocations: 8 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.2251, allocations: 4 kB / 0.5922 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2251, allocations: 0 / 0.5922 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.2252, allocations: 8 kB / 0.5922 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2252, allocations: 7.922 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.2255, allocations: 91.75 kB / 0.5923 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2255, allocations: 7.953 kB / 0.5924 GB, free: 13.49 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.2256, allocations: 137.8 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.2256, allocations: 11.91 kB / 0.5925 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.2257, allocations: 12.8 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2257, allocations: 4 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2257, allocations: 0 / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.2257, allocations: 0 / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.2259, allocations: 193.6 kB / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2259, allocations: 4 kB / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.2259, allocations: 4 kB / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2259, allocations: 0 / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2259, allocations: 12 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.226, allocations: 3.938 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.226, allocations: 3.938 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.2262, allocations: 203.2 kB / 0.5929 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.2263, allocations: 88.89 kB / 0.593 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.2263, allocations: 4 kB / 0.593 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/0.2263, allocations: 8 kB / 0.593 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.2264, allocations: 7.984 kB / 0.593 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2264, allocations: 4 kB / 0.593 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.295e-05/0.2265, allocations: 117.3 kB / 0.5931 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2265, allocations: 0 / 0.5931 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003111/0.2268, allocations: 71.98 kB / 0.5932 GB, free: 12.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006713/0.2275, allocations: 0.8554 MB / 0.594 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.2277, allocations: 159.3 kB / 0.5942 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2277, allocations: 3.938 kB / 0.5942 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.2278, allocations: 47.92 kB / 0.5942 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.2279, allocations: 15.59 kB / 0.5943 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.2291, allocations: 0.9473 MB / 0.5952 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.2295, allocations: 0.7082 MB / 0.5959 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.2295, allocations: 8.672 kB / 0.5959 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.2296, allocations: 27.42 kB / 0.5959 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.2296, allocations: 0 / 0.5959 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/0.3978, allocations: 3.605 MB / 0.5994 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/0.3981, allocations: 182.5 kB / 0.5996 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.26, allocations: 0 / 0.5996 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/linux/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) Environment - environmentSimulation: