Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.WeeklySchedule7to19,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.001582/0.001581, allocations: 105.2 kB / 16.4 MB, free: 6.488 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.00185/0.00185, allocations: 195.8 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.373/1.373, 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.7298/0.7298, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.61 kB / 0.5572 GB, free: 32.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1439, allocations: 76.18 MB / 0.6316 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003132/0.1471, allocations: 1.349 MB / 0.6329 GB, free: 3.59 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001635/0.1473, allocations: 31.89 kB / 0.6329 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.1473, allocations: 0 / 0.6329 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.1475, allocations: 23.88 kB / 0.6329 GB, free: 3.535 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1477, allocations: 19.91 kB / 0.633 GB, free: 3.516 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.799e-06/0.1477, allocations: 0 / 0.633 GB, free: 3.516 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.318e-05/0.1478, allocations: 15.94 kB / 0.633 GB, free: 3.5 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.1478, allocations: 7.922 kB / 0.633 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.1479, allocations: 4 kB / 0.633 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.1479, allocations: 11.94 kB / 0.633 GB, free: 3.477 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.148, allocations: 0 / 0.633 GB, free: 3.477 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.091e-05/0.148, allocations: 8 kB / 0.633 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.1481, allocations: 7.969 kB / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.1481, allocations: 15.94 kB / 0.633 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1482, allocations: 27.91 kB / 0.6331 GB, free: 3.418 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1482, allocations: 0 / 0.6331 GB, free: 3.418 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1482, allocations: 4 kB / 0.6331 GB, free: 3.414 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1482, allocations: 0 / 0.6331 GB, free: 3.414 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.0003868/0.1486, allocations: 338.2 kB / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1487, allocations: 8.031 kB / 0.6334 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.1487, allocations: 34.75 kB / 0.6334 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.1488, allocations: 0.9375 kB / 0.6334 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.149, allocations: 188.3 kB / 0.6336 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.149, allocations: 384 / 0.6336 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.149, allocations: 384 / 0.6336 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.1491, allocations: 34.2 kB / 0.6336 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1491, allocations: 3.938 kB / 0.6336 GB, free: 2.719 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1491, allocations: 3.938 kB / 0.6336 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.1492, allocations: 0 / 0.6336 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.1492, allocations: 7.984 kB / 0.6337 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.1494, allocations: 153.7 kB / 0.6338 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.1494, allocations: 22.58 kB / 0.6338 GB, free: 2.477 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.1494, allocations: 8.922 kB / 0.6338 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1495, allocations: 3.938 kB / 0.6338 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1495, allocations: 30.56 kB / 0.6339 GB, free: 2.422 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.1495, allocations: 0 / 0.6339 GB, free: 2.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.1497, allocations: 41.64 kB / 0.6339 GB, free: 2.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1497, allocations: 59.52 kB / 0.634 GB, free: 2.305 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1498, allocations: 121.7 kB / 0.6341 GB, free: 2.176 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1498, allocations: 25.7 kB / 0.6341 GB, free: 2.145 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.1499, allocations: 84.14 kB / 0.6342 GB, free: 2.059 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.1499, allocations: 0 / 0.6342 GB, free: 2.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.1499, allocations: 13.72 kB / 0.6342 GB, free: 2.039 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1501, allocations: 314.8 kB / 0.6345 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.1501, allocations: 0 / 0.6345 GB, free: 1.723 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.1501, allocations: 15.92 kB / 0.6345 GB, free: 1.707 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.477e-05/0.1501, allocations: 12.86 kB / 0.6345 GB, free: 1.691 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1501, allocations: 0 / 0.6345 GB, free: 1.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.183e-05/0.1502, allocations: 33.64 kB / 0.6346 GB, free: 1.652 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1502, allocations: 11.94 kB / 0.6346 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1503, allocations: 0 / 0.6346 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1503, allocations: 0 / 0.6346 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/0.1503, allocations: 3.984 kB / 0.6346 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1503, allocations: 0 / 0.6346 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.1504, allocations: 8.656 kB / 0.6346 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.1504, allocations: 0 / 0.6346 GB, free: 1.629 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.425e-05/0.1505, allocations: 113.8 kB / 0.6347 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.1505, allocations: 11.84 kB / 0.6347 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.697e-05/0.1506, allocations: 37.22 kB / 0.6347 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1506, allocations: 4 kB / 0.6347 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1506, allocations: 0 / 0.6347 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1506, allocations: 0 / 0.6347 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.846e-05/0.1507, allocations: 153.7 kB / 0.6349 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1507, allocations: 4.031 kB / 0.6349 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.1507, allocations: 3.938 kB / 0.6349 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/0.1508, allocations: 7.938 kB / 0.6349 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1508, allocations: 4 kB / 0.6349 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1508, allocations: 7.984 kB / 0.6349 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1508, allocations: 3.984 kB / 0.6349 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.179e-05/0.1509, allocations: 57.08 kB / 0.635 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.1509, allocations: 89.33 kB / 0.6351 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.1509, allocations: 3.938 kB / 0.6351 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.1509, allocations: 3.984 kB / 0.6351 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.151, allocations: 4 kB / 0.6351 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.151, allocations: 0 / 0.6351 GB, free: 1.023 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.225e-05/0.151, allocations: 87.28 kB / 0.6351 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.151, allocations: 0 / 0.6351 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002031/0.1512, allocations: 7.984 kB / 0.6352 GB, free: 0.9297 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.0004215/0.1517, allocations: 0.6185 MB / 0.6358 GB, free: 292 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 7.489e-05/0.1518, allocations: 8 kB / 0.6358 GB, free: 284 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1518, allocations: 96 / 0.6358 GB, free: 284 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.1518, allocations: 11.94 kB / 0.6358 GB, free: 272 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1519, allocations: 0 / 0.6358 GB, free: 272 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1531, allocations: 1.102 MB / 0.6369 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1534, allocations: 0.6807 MB / 0.6375 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.1535, allocations: 11.92 kB / 0.6375 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.1535, allocations: 7.438 kB / 0.6375 GB, free: 14.36 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1536, allocations: 0 / 0.6375 GB, free: 14.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.1704, allocations: 1.397 MB / 0.6389 GB, free: 13.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.838, allocations: 11.42 kB / 0.6389 GB, free: 13.04 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)