Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.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.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_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.001109/0.001109, allocations: 110 kB / 16.41 MB, free: 6.484 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.001098/0.001098, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7545/0.7545, allocations: 115.3 MB / 406.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.66 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 76.19 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003951/0.1527, allocations: 1.447 MB / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1544, allocations: 1.117 MB / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.1544, allocations: 3.938 kB / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.1547, allocations: 23.8 kB / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.1549, allocations: 43.77 kB / 0.6342 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.1551, allocations: 58.47 kB / 0.6342 GB, free: 2.211 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1553, allocations: 155.6 kB / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1555, allocations: 57.09 kB / 0.6344 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1556, allocations: 87.69 kB / 0.6345 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.1558, allocations: 43.78 kB / 0.6345 GB, free: 1.875 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.1558, allocations: 16 kB / 0.6345 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.1559, allocations: 27.98 kB / 0.6346 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.156, allocations: 47.83 kB / 0.6346 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.86e-05/0.1561, allocations: 75.58 kB / 0.6347 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1564, allocations: 206.1 kB / 0.6349 GB, free: 1.512 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1564, allocations: 0 / 0.6349 GB, free: 1.512 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1564, allocations: 0 / 0.6349 GB, free: 1.512 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1564, allocations: 0 / 0.6349 GB, free: 1.512 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000768/0.1572, allocations: 0.4917 MB / 0.6354 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1572, allocations: 8.031 kB / 0.6354 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.1573, allocations: 42.73 kB / 0.6354 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/0.1574, allocations: 20.66 kB / 0.6354 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.1577, allocations: 252 kB / 0.6357 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.1578, allocations: 119.3 kB / 0.6358 GB, free: 480 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1579, allocations: 4.375 kB / 0.6358 GB, free: 476 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.1582, allocations: 165.5 kB / 0.636 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1582, allocations: 0 / 0.636 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.1583, allocations: 4 kB / 0.636 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.1583, allocations: 7.984 kB / 0.636 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.278e-05/0.1584, allocations: 43.97 kB / 0.636 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.1594, allocations: 464.3 kB / 0.6365 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.55e-05/0.1595, allocations: 34.56 kB / 0.6365 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.1595, allocations: 28.86 kB / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.1596, allocations: 12.06 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.1596, allocations: 38.56 kB / 0.6366 GB, free: 15.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1596, allocations: 0 / 0.6366 GB, free: 15.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002778/0.1599, allocations: 101.5 kB / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.16, allocations: 55.34 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1602, allocations: 215.8 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.1602, allocations: 33.64 kB / 0.6369 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.1603, allocations: 116.2 kB / 0.6371 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.1604, allocations: 31.55 kB / 0.6371 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.1604, allocations: 33.66 kB / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1605, allocations: 330.8 kB / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.1606, allocations: 27.98 kB / 0.6375 GB, free: 14.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.99e-05/0.1607, allocations: 98.22 kB / 0.6376 GB, free: 14.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1609, allocations: 142.2 kB / 0.6377 GB, free: 14.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1609, allocations: 0 / 0.6377 GB, free: 14.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002291/0.1611, allocations: 145.6 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1611, allocations: 15.97 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1611, allocations: 0 / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1612, allocations: 4 kB / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1613, allocations: 27.98 kB / 0.6379 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.1613, allocations: 7.938 kB / 0.6379 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.1614, allocations: 15.83 kB / 0.6379 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1614, allocations: 11.94 kB / 0.6379 GB, free: 14.08 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001152/0.1615, allocations: 141.8 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.1616, allocations: 15.81 kB / 0.6381 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.1618, allocations: 131.1 kB / 0.6382 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1618, allocations: 0 / 0.6382 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1618, allocations: 3.938 kB / 0.6382 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1618, allocations: 0 / 0.6382 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1621, allocations: 229.5 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1621, allocations: 4 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.1621, allocations: 12 kB / 0.6384 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1621, allocations: 7.938 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1622, allocations: 3.984 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1622, allocations: 0 / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.1622, allocations: 7.938 kB / 0.6384 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1624, allocations: 191.3 kB / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.1624, allocations: 85.02 kB / 0.6387 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1625, allocations: 4 kB / 0.6387 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.1627, allocations: 19.97 kB / 0.6387 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.1627, allocations: 3.938 kB / 0.6387 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.1628, allocations: 11.98 kB / 0.6387 GB, free: 13.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1629, allocations: 164.2 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1629, allocations: 0 / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003296/0.1633, allocations: 35.84 kB / 0.6389 GB, free: 12.93 MB / 494.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 (8): * Single equations (assignments): 8 * 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.0006274/0.1639, allocations: 0.7459 MB / 0.6397 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1641, allocations: 71.83 kB / 0.6397 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1641, allocations: 0 / 0.6397 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.1641, allocations: 28.67 kB / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1645, allocations: 23.94 kB / 0.6398 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1664, allocations: 1.908 MB / 0.6416 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1667, allocations: 0.7314 MB / 0.6424 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.1669, allocations: 60.72 kB / 0.6424 GB, free: 9.164 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.1669, allocations: 47.42 kB / 0.6425 GB, free: 9.117 MB / 494.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1669, allocations: 0 / 0.6425 GB, free: 9.117 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.189, allocations: 4.223 MB / 0.6466 GB, free: 5.012 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.09, allocations: 10.3 kB / 0.6466 GB, free: 5.004 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)