Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",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.001059/0.001059, allocations: 106.4 kB / 16.4 MB, free: 6.023 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.001094/0.001094, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.758/0.758, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 65.64 kB / 0.5572 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002663/0.1397, allocations: 1.338 MB / 0.6329 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001719/0.1399, allocations: 31.83 kB / 0.6329 GB, free: 3.527 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.1399, allocations: 0 / 0.6329 GB, free: 3.527 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.1401, allocations: 15.92 kB / 0.6329 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1403, allocations: 15.92 kB / 0.633 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.629e-06/0.1403, allocations: 0 / 0.633 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.1404, allocations: 15.88 kB / 0.633 GB, free: 3.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.461e-05/0.1405, allocations: 7.938 kB / 0.633 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.1405, allocations: 3.984 kB / 0.633 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.1405, allocations: 7.938 kB / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1406, allocations: 4 kB / 0.633 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.471e-05/0.1406, allocations: 15.98 kB / 0.633 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.1407, allocations: 7.984 kB / 0.633 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.1407, allocations: 3.938 kB / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.1408, allocations: 27.91 kB / 0.633 GB, free: 3.402 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1408, allocations: 4 kB / 0.633 GB, free: 3.398 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1408, allocations: 0 / 0.633 GB, free: 3.398 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.1409, allocations: 0 / 0.633 GB, free: 3.398 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003764/0.1412, allocations: 338.2 kB / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1413, allocations: 8.031 kB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.1414, allocations: 38.69 kB / 0.6334 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.1414, allocations: 8.844 kB / 0.6334 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.1416, allocations: 172.4 kB / 0.6336 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1416, allocations: 384 / 0.6336 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.1416, allocations: 384 / 0.6336 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.944e-05/0.1417, allocations: 38.25 kB / 0.6336 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1417, allocations: 3.938 kB / 0.6336 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1417, allocations: 4 kB / 0.6336 GB, free: 2.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.1417, allocations: 0 / 0.6336 GB, free: 2.699 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.262e-05/0.1418, allocations: 8 kB / 0.6336 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.142, allocations: 240.9 kB / 0.6339 GB, free: 2.406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.128e-05/0.1421, allocations: 22.52 kB / 0.6339 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.1421, allocations: 4.859 kB / 0.6339 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.1421, allocations: 4.062 kB / 0.6339 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1422, allocations: 30.56 kB / 0.6339 GB, free: 2.324 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1422, allocations: 4 kB / 0.6339 GB, free: 2.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001446/0.1423, allocations: 45.53 kB / 0.634 GB, free: 2.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.1424, allocations: 51.41 kB / 0.634 GB, free: 2.207 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1425, allocations: 114.4 kB / 0.6341 GB, free: 2.086 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1425, allocations: 25.7 kB / 0.6342 GB, free: 2.055 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.1426, allocations: 84.14 kB / 0.6342 GB, free: 1.969 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.1426, allocations: 12.12 kB / 0.6343 GB, free: 1.957 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.1426, allocations: 9.719 kB / 0.6343 GB, free: 1.941 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1427, allocations: 319 kB / 0.6346 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.1427, allocations: 4 kB / 0.6346 GB, free: 1.617 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.1428, allocations: 4 kB / 0.6346 GB, free: 1.613 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.261e-05/0.1428, allocations: 12.8 kB / 0.6346 GB, free: 1.598 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1428, allocations: 3.938 kB / 0.6346 GB, free: 1.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.837e-05/0.1429, allocations: 37.64 kB / 0.6346 GB, free: 1.551 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1429, allocations: 7.938 kB / 0.6346 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1429, allocations: 0 / 0.6346 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1429, allocations: 8.078 kB / 0.6346 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.476e-05/0.143, allocations: 8 kB / 0.6346 GB, free: 1.527 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.143, allocations: 0 / 0.6346 GB, free: 1.527 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.143, allocations: 0 / 0.6346 GB, free: 1.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.143, allocations: 0 / 0.6346 GB, free: 1.527 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.346e-05/0.1431, allocations: 113.8 kB / 0.6348 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.1431, allocations: 0 / 0.6348 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.714e-05/0.1432, allocations: 49.16 kB / 0.6348 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1432, allocations: 8.016 kB / 0.6348 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1432, allocations: 0 / 0.6348 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1432, allocations: 0 / 0.6348 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.1434, allocations: 157.6 kB / 0.635 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1434, allocations: 4 kB / 0.635 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.1434, allocations: 0 / 0.635 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1434, allocations: 0 / 0.635 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.1434, allocations: 0 / 0.635 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1434, allocations: 0 / 0.635 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1434, allocations: 7.984 kB / 0.635 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.1435, allocations: 139.4 kB / 0.6351 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.1436, allocations: 77.11 kB / 0.6352 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.1436, allocations: 0 / 0.6352 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.1437, allocations: 0 / 0.6352 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.1437, allocations: 7.922 kB / 0.6352 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1437, allocations: 0 / 0.6352 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.143e-05/0.1437, allocations: 91.28 kB / 0.6353 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1437, allocations: 0 / 0.6353 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.144, allocations: 8.031 kB / 0.6353 GB, free: 0.7734 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0005368/0.1445, allocations: 0.6937 MB / 0.636 GB, free: 60 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.1446, allocations: 11.97 kB / 0.636 GB, free: 48 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1446, allocations: 0 / 0.636 GB, free: 48 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.127e-06/0.1446, allocations: 7.938 kB / 0.636 GB, free: 40 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.1448, allocations: 1.719 kB / 0.636 GB, free: 40 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1458, allocations: 1.171 MB / 0.6371 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1461, allocations: 0.6807 MB / 0.6378 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.894e-05/0.1462, allocations: 4.625 kB / 0.6378 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.1462, allocations: 7.469 kB / 0.6378 GB, free: 14.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1462, allocations: 4 kB / 0.6378 GB, free: 14.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.164, allocations: 1.374 MB / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.786, allocations: 13.62 kB / 0.6392 GB, free: 12.75 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)