Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_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.005799/0.005799, allocations: 105.5 kB / 15.74 MB, free: 6.027 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.001154/0.001154, allocations: 189.6 kB / 16.67 MB, free: 5.949 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 292.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8745/0.8745, allocations: 169.2 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 87.86 kB / 0.6809 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4091, allocations: 86.97 MB / 0.7659 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002673/0.4118, allocations: 1.375 MB / 0.7672 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001609/0.412, allocations: 39.88 kB / 0.7673 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.412, allocations: 7.938 kB / 0.7673 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.4122, allocations: 7.938 kB / 0.7673 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.4123, allocations: 15.92 kB / 0.7673 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.236e-06/0.4123, allocations: 0 / 0.7673 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.018e-05/0.4124, allocations: 15.98 kB / 0.7673 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.4125, allocations: 6.75 kB / 0.7673 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.363e-05/0.4125, allocations: 15.92 kB / 0.7673 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.4126, allocations: 11.94 kB / 0.7673 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.4126, allocations: 0 / 0.7673 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.063e-05/0.4127, allocations: 15.98 kB / 0.7674 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.4127, allocations: 0 / 0.7674 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.4127, allocations: 11.94 kB / 0.7674 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.4128, allocations: 31.89 kB / 0.7674 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4129, allocations: 0 / 0.7674 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.552e-06/0.4129, allocations: 0 / 0.7674 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.4129, allocations: 0 / 0.7674 GB, free: 2.367 MB / 0.5294 GB 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.0003332/0.4132, allocations: 339.4 kB / 0.7677 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4133, allocations: 8.031 kB / 0.7677 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.4133, allocations: 30.75 kB / 0.7678 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.4133, allocations: 8.844 kB / 0.7678 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.4135, allocations: 176.3 kB / 0.7679 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.4135, allocations: 384 / 0.7679 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.4135, allocations: 384 / 0.7679 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.969e-05/0.4136, allocations: 38.19 kB / 0.768 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4137, allocations: 3.938 kB / 0.768 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.4137, allocations: 0 / 0.768 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.4137, allocations: 4 kB / 0.768 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.198e-05/0.4137, allocations: 4 kB / 0.768 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.4139, allocations: 153.7 kB / 0.7681 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.939e-05/0.4139, allocations: 18.58 kB / 0.7681 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.414, allocations: 8.922 kB / 0.7682 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.414, allocations: 3.938 kB / 0.7682 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.414, allocations: 34.56 kB / 0.7682 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.414, allocations: 0 / 0.7682 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001291/0.4141, allocations: 49.53 kB / 0.7682 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.4142, allocations: 55.34 kB / 0.7683 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.4143, allocations: 121.8 kB / 0.7684 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.4143, allocations: 25.7 kB / 0.7684 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.4144, allocations: 80.14 kB / 0.7685 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.4144, allocations: 0 / 0.7685 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.4144, allocations: 21.84 kB / 0.7685 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4145, allocations: 314.8 kB / 0.7688 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.4145, allocations: 3.938 kB / 0.7688 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.4146, allocations: 4 kB / 0.7688 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.521e-05/0.4146, allocations: 12.86 kB / 0.7688 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4146, allocations: 0 / 0.7688 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.289e-05/0.4147, allocations: 37.69 kB / 0.7689 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4147, allocations: 7.938 kB / 0.7689 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4147, allocations: 8.094 kB / 0.7689 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.4147, allocations: 0 / 0.7689 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.864e-05/0.4148, allocations: 7.938 kB / 0.7689 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4148, allocations: 0 / 0.7689 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.4148, allocations: 3.906 kB / 0.7689 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.4148, allocations: 0 / 0.7689 GB, free: 0.5781 MB / 0.5294 GB 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.11e-05/0.4149, allocations: 117.8 kB / 0.769 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.4149, allocations: 3.938 kB / 0.769 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.914e-05/0.415, allocations: 49.16 kB / 0.7691 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.415, allocations: 0 / 0.7691 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.415, allocations: 0 / 0.7691 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.415, allocations: 0 / 0.7691 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.4151, allocations: 153.7 kB / 0.7692 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4151, allocations: 7.969 kB / 0.7692 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.625e-05/0.4151, allocations: 4 kB / 0.7692 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4152, allocations: 3.938 kB / 0.7692 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.4152, allocations: 4 kB / 0.7692 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4152, allocations: 0 / 0.7692 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4152, allocations: 0 / 0.7692 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.797e-05/0.4153, allocations: 61.11 kB / 0.7693 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.4153, allocations: 89.17 kB / 0.7694 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.4153, allocations: 7.938 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.4154, allocations: 0 / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.4154, allocations: 0 / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.4154, allocations: 0 / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.4154, allocations: 91.58 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4154, allocations: 4.031 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002112/0.4157, allocations: 4 kB / 0.7695 GB, free: 15.88 MB / 0.545 GB 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.0004222/0.4161, allocations: 0.6234 MB / 0.7701 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.045e-05/0.4162, allocations: 8 kB / 0.7701 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4162, allocations: 0 / 0.7701 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.295e-06/0.4162, allocations: 0 / 0.7701 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.4163, allocations: 4 kB / 0.7701 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.4173, allocations: 1.114 MB / 0.7712 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.4175, allocations: 0.6729 MB / 0.7719 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.072e-05/0.4176, allocations: 12.02 kB / 0.7719 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.4177, allocations: 11.44 kB / 0.7719 GB, free: 13.3 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.4177, allocations: 0 / 0.7719 GB, free: 13.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.4333, allocations: 1.417 MB / 0.7733 GB, free: 12.03 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.595, allocations: 7.078 kB / 0.7733 GB, free: 12.02 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)