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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009118/0.009118, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8261/0.8261, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 223.2 MB / 406.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000979/0.0009788, allocations: 99.25 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004238, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5223, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.7011, allocations: 111.7 MB / 0.7586 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004082/0.7016, allocations: 75.94 kB / 0.7587 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01308/0.7147, allocations: 3.977 MB / 0.7626 GB, free: 228 kB / 0.5261 GB Notification: Performance of FrontEnd: time 3.176e-06/0.7147, allocations: 0 / 0.7626 GB, free: 228 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.673e-05/0.7148, allocations: 4 kB / 0.7626 GB, free: 224 kB / 0.5261 GB 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.0008512/0.7156, allocations: 438.8 kB / 0.763 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.945e-05/0.7157, allocations: 12.03 kB / 0.763 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.149e-05/0.7158, allocations: 34.56 kB / 0.763 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.7159, allocations: 19.81 kB / 0.7631 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.7163, allocations: 211.6 kB / 0.7633 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.7163, allocations: 8 kB / 0.7633 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.7164, allocations: 12 kB / 0.7633 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.7166, allocations: 91.3 kB / 0.7634 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.7167, allocations: 0 / 0.7634 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.7167, allocations: 0 / 0.7634 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.7167, allocations: 4 kB / 0.7634 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.7168, allocations: 39.92 kB / 0.7634 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.7172, allocations: 250.4 kB / 0.7637 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.7174, allocations: 89.16 kB / 0.7637 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.7174, allocations: 3.938 kB / 0.7637 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.7177, allocations: 117.1 kB / 0.7639 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.7177, allocations: 0 / 0.7639 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0007134/0.7184, allocations: 363.6 kB / 0.7642 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/0.7185, allocations: 85.05 kB / 0.7643 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.7187, allocations: 147.2 kB / 0.7644 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.7188, allocations: 37.7 kB / 0.7645 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.348e-05/0.7189, allocations: 96.58 kB / 0.7645 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.7189, allocations: 43.53 kB / 0.7646 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.7189, allocations: 4 kB / 0.7646 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.7191, allocations: 322.8 kB / 0.7649 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.7192, allocations: 48.16 kB / 0.7649 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.7195, allocations: 206.6 kB / 0.7651 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.7197, allocations: 66.08 kB / 0.7652 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.7197, allocations: 4 kB / 0.7652 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002696/0.72, allocations: 173.3 kB / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.72, allocations: 4 kB / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.543e-05/0.72, allocations: 12 kB / 0.7654 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7201, allocations: 0 / 0.7654 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.7201, allocations: 15.92 kB / 0.7654 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.7202, allocations: 3.953 kB / 0.7654 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.7204, allocations: 83.91 kB / 0.7655 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.7205, allocations: 4 kB / 0.7655 GB, free: 12.88 MB / 0.5417 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.0001492/0.7206, allocations: 141.8 kB / 0.7656 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.7207, allocations: 11.81 kB / 0.7656 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.7207, allocations: 12.72 kB / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7207, allocations: 0 / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.7207, allocations: 4 kB / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.7208, allocations: 3.953 kB / 0.7657 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.721, allocations: 205.5 kB / 0.7659 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.721, allocations: 0 / 0.7659 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.721, allocations: 11.94 kB / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.721, allocations: 4 kB / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.721, allocations: 0 / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.7211, allocations: 0 / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7211, allocations: 7.938 kB / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.7214, allocations: 204.1 kB / 0.7661 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.7214, allocations: 96.91 kB / 0.7662 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.7215, allocations: 0 / 0.7662 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.7215, allocations: 4 kB / 0.7662 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.7216, allocations: 15.94 kB / 0.7662 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.7216, allocations: 4 kB / 0.7662 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.048e-05/0.7217, allocations: 120.7 kB / 0.7663 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7217, allocations: 0 / 0.7663 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004041/0.7221, allocations: 91.86 kB / 0.7664 GB, free: 11.86 MB / 0.5417 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.0007658/0.7229, allocations: 0.8554 MB / 0.7672 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.7232, allocations: 171.5 kB / 0.7674 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7232, allocations: 0 / 0.7674 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.7233, allocations: 52.09 kB / 0.7674 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.7234, allocations: 7.984 kB / 0.7674 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.7246, allocations: 0.9651 MB / 0.7684 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.7249, allocations: 0.7119 MB / 0.7691 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.161e-05/0.725, allocations: 4.672 kB / 0.7691 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.725, allocations: 27.42 kB / 0.7691 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of SimCode: time 4.41e-07/0.7251, allocations: 4 kB / 0.7691 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.7415, allocations: 3.572 MB / 0.7726 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.7417, allocations: 180 kB / 0.7728 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.492, allocations: 0 / 0.7728 GB, free: 5.262 MB / 0.5417 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)