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/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9816/0.9816, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.685/1.685, allocations: 221.5 MB / 395.4 MB, free: 10.82 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.001034/0.001035, allocations: 96.25 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.129e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5373, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.702, allocations: 111 MB / 0.7423 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.7024, allocations: 75.95 kB / 0.7424 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01482/0.7172, allocations: 5.012 MB / 0.7473 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7173, allocations: 4 kB / 0.7473 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.7173, allocations: 4 kB / 0.7473 GB, free: 6.523 MB / 0.5261 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.0007241/0.718, allocations: 454 kB / 0.7477 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.7181, allocations: 12.03 kB / 0.7478 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.7182, allocations: 11.84 kB / 0.7478 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.7186, allocations: 220.7 kB / 0.748 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.7186, allocations: 4 kB / 0.748 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.7186, allocations: 8 kB / 0.748 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001397/0.7188, allocations: 43.91 kB / 0.748 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.719, allocations: 100.2 kB / 0.7481 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.719, allocations: 0 / 0.7481 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.719, allocations: 3.938 kB / 0.7481 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.719, allocations: 0 / 0.7481 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.7193, allocations: 227.8 kB / 0.7484 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.7195, allocations: 107.8 kB / 0.7485 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.7196, allocations: 66.72 kB / 0.7485 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.7197, allocations: 4 kB / 0.7485 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.7199, allocations: 137 kB / 0.7487 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 3.807e-06/0.7199, allocations: 3.984 kB / 0.7487 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.0004551/0.7204, allocations: 177.4 kB / 0.7488 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.7205, allocations: 118.8 kB / 0.7489 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.7206, allocations: 130.2 kB / 0.7491 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.7206, allocations: 33.64 kB / 0.7491 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.7207, allocations: 100.7 kB / 0.7492 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.7208, allocations: 55.27 kB / 0.7492 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.7208, allocations: 4 kB / 0.7492 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.721, allocations: 322.8 kB / 0.7496 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.8e-05/0.7211, allocations: 44.27 kB / 0.7496 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.7213, allocations: 191.1 kB / 0.7498 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.7215, allocations: 80.3 kB / 0.7499 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7215, allocations: 0 / 0.7499 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003357/0.7218, allocations: 193.3 kB / 0.75 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7219, allocations: 4.625 kB / 0.75 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.525e-05/0.7219, allocations: 7.984 kB / 0.7501 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.7219, allocations: 4 kB / 0.7501 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/0.722, allocations: 8 kB / 0.7501 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.7221, allocations: 4 kB / 0.7501 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.7223, allocations: 51.8 kB / 0.7501 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.7224, allocations: 11.98 kB / 0.7501 GB, free: 3.324 MB / 0.5261 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.7225, allocations: 120.9 kB / 0.7502 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003184/0.7228, allocations: 181.3 kB / 0.7504 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.7229, allocations: 11.81 kB / 0.7504 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.7229, allocations: 20.62 kB / 0.7504 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.7229, allocations: 0 / 0.7504 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7229, allocations: 4 kB / 0.7505 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7229, allocations: 0 / 0.7505 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.7231, allocations: 178.1 kB / 0.7506 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7231, allocations: 3.953 kB / 0.7506 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.7232, allocations: 11.94 kB / 0.7506 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.7232, allocations: 4 kB / 0.7506 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.7232, allocations: 0 / 0.7506 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7232, allocations: 4 kB / 0.7506 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.7232, allocations: 3.984 kB / 0.7506 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.7236, allocations: 248.3 kB / 0.7509 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.7237, allocations: 85.02 kB / 0.751 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.7237, allocations: 0 / 0.751 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.7238, allocations: 11.98 kB / 0.751 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.7239, allocations: 12 kB / 0.751 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.7239, allocations: 15.92 kB / 0.751 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.821e-05/0.724, allocations: 100.4 kB / 0.7511 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.724, allocations: 4 kB / 0.7511 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004168/0.7244, allocations: 107.9 kB / 0.7512 GB, free: 2.117 MB / 0.5261 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) * 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 (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.0009953/0.7254, allocations: 1.01 MB / 0.7522 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.7257, allocations: 205 kB / 0.7524 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7257, allocations: 0 / 0.7524 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/0.7258, allocations: 60.09 kB / 0.7524 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.726, allocations: 19.03 kB / 0.7525 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.7266, allocations: 249 kB / 0.7527 GB, free: 492 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.7271, allocations: 0.7085 MB / 0.7534 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.676e-05/0.7271, allocations: 16.86 kB / 0.7534 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.7272, allocations: 35.42 kB / 0.7534 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.7272, allocations: 4 kB / 0.7534 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.7528, allocations: 3.857 MB / 0.7572 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.7531, allocations: 168.9 kB / 0.7574 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.688, allocations: 2.531 kB / 0.7574 GB, free: 11.67 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)