Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007725/0.0007725, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008239/0.0008239, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9373/0.9373, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7289/0.7289, allocations: 154.6 MB / 413.7 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.221e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002034/0.002056, allocations: 1.415 MB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00058/0.002636, allocations: 464.6 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.00267, allocations: 0 / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.043e-05/0.00274, allocations: 11.92 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.002793, allocations: 7.875 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006102/0.003403, allocations: 241.9 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.003564, allocations: 151.7 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.003605, allocations: 11.97 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.003684, allocations: 71.89 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.003746, allocations: 43.94 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.003768, allocations: 8 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.003984, allocations: 187.7 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.004038, allocations: 35.91 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.004093, allocations: 43.91 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.004342, allocations: 275.3 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004344, allocations: 0 / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004345, allocations: 0 / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004349, allocations: 0 / 0.6209 GB, free: 10.77 MB / 0.5886 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.0003996/0.004749, allocations: 377.6 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.004784, allocations: 8.031 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.6e-05/0.00481, allocations: 38.73 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.004846, allocations: 12.89 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.004993, allocations: 156.1 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.005005, allocations: 8.375 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.005022, allocations: 12.38 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.005148, allocations: 79.95 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.005156, allocations: 192 / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.005166, allocations: 4.359 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.005171, allocations: 4.125 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.616e-05/0.005228, allocations: 47.91 kB / 0.6216 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.005395, allocations: 185.6 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.117e-05/0.005476, allocations: 73.2 kB / 0.6219 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.005529, allocations: 57.78 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.005538, allocations: 0 / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.005688, allocations: 101.1 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 7.41e-07/0.005689, allocations: 0 / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0002577/0.005947, allocations: 193.4 kB / 0.6222 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.005989, allocations: 85.11 kB / 0.6223 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.006077, allocations: 153.8 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.006097, allocations: 37.7 kB / 0.6225 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.006142, allocations: 100.5 kB / 0.6226 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.006176, allocations: 35.73 kB / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.006225, allocations: 53.64 kB / 0.6227 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.006298, allocations: 326.8 kB / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.006342, allocations: 39.92 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.006573, allocations: 0.6002 MB / 0.6236 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.595e-05/0.006669, allocations: 101.3 kB / 0.6237 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.006671, allocations: 3.938 kB / 0.6237 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001459/0.006816, allocations: 158.1 kB / 0.6239 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.00683, allocations: 17.97 kB / 0.6239 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.006846, allocations: 0 / 0.6239 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.006862, allocations: 4 kB / 0.6239 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.006923, allocations: 11.92 kB / 0.6239 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.006928, allocations: 4 kB / 0.6239 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.007076, allocations: 71.86 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.007084, allocations: 4 kB / 0.624 GB, free: 7.27 MB / 0.5886 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 8.211e-05/0.007166, allocations: 138.8 kB / 0.6241 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.007178, allocations: 11.91 kB / 0.6241 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.007202, allocations: 16.72 kB / 0.6241 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007204, allocations: 0 / 0.6241 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.007208, allocations: 0 / 0.6241 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.007211, allocations: 7.984 kB / 0.6241 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.022e-05/0.007302, allocations: 156.7 kB / 0.6243 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007303, allocations: 0 / 0.6243 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.007323, allocations: 11.94 kB / 0.6243 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.007326, allocations: 4 kB / 0.6243 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.007334, allocations: 3.938 kB / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007335, allocations: 0 / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.007337, allocations: 4.078 kB / 0.6243 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.007481, allocations: 185.1 kB / 0.6245 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.007491, allocations: 12.03 kB / 0.6245 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.007507, allocations: 7.922 kB / 0.6245 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.029e-05/0.007527, allocations: 8 kB / 0.6245 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.007561, allocations: 11.98 kB / 0.6245 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.007566, allocations: 11.88 kB / 0.6245 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.007615, allocations: 108.1 kB / 0.6246 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007615, allocations: 4 kB / 0.6246 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002092/0.007824, allocations: 71.81 kB / 0.6247 GB, free: 6.438 MB / 0.5886 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.0005531/0.008377, allocations: 0.7953 MB / 0.6255 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.008551, allocations: 151.3 kB / 0.6256 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008553, allocations: 0 / 0.6256 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.008594, allocations: 47.91 kB / 0.6257 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.008709, allocations: 8 kB / 0.6257 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.009825, allocations: 1.718 MB / 0.6274 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.839e-05/0.009894, allocations: 96.97 kB / 0.6274 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.009928, allocations: 4.734 kB / 0.6275 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.00997, allocations: 28.48 kB / 0.6275 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.009971, allocations: 7.938 kB / 0.6275 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.03147, allocations: 4.806 MB / 0.6322 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.556/6.587, allocations: 5.938 kB / 0.6322 GB, free: 14.83 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.292254722677171] Failed to read output from testmodel.py, exit status != 0: 6.670011910609901 6.678544766 6.67263718 Calling exit ...