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.004682/0.004682, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.001299/0.001299, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002417/0.002417, allocations: 282.6 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9586/0.9586, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 99.84 kB / 0.6809 GB, free: 64 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1579, allocations: 86.96 MB / 0.7659 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002379/0.1603, allocations: 1.377 MB / 0.7672 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001478/0.1605, allocations: 35.83 kB / 0.7673 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.1605, allocations: 0 / 0.7673 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.1607, allocations: 11.92 kB / 0.7673 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.771e-05/0.1608, allocations: 19.86 kB / 0.7673 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.1608, allocations: 0 / 0.7673 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.1609, allocations: 23.92 kB / 0.7673 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.1609, allocations: 0 / 0.7673 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.1609, allocations: 11.98 kB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.161, allocations: 19.86 kB / 0.7673 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.161, allocations: 0 / 0.7673 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.187e-05/0.1611, allocations: 12 kB / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.1611, allocations: 0 / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.1611, allocations: 15.88 kB / 0.7674 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.733e-05/0.1612, allocations: 32.17 kB / 0.7674 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1612, allocations: 0 / 0.7674 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1612, allocations: 3.938 kB / 0.7674 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.1612, allocations: 0 / 0.7674 GB, free: 7.445 MB / 0.5606 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.0003438/0.1616, allocations: 335.3 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1616, allocations: 12.03 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.1617, allocations: 30.75 kB / 0.7678 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.1617, allocations: 8.891 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1619, allocations: 168.4 kB / 0.7679 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.1619, allocations: 384 / 0.7679 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-06/0.1619, allocations: 384 / 0.7679 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.637e-05/0.162, allocations: 42.19 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.162, allocations: 3.938 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.162, allocations: 0 / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.162, allocations: 4 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.162, allocations: 4 kB / 0.768 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.1622, allocations: 153.7 kB / 0.7681 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.406e-05/0.1622, allocations: 14.58 kB / 0.7681 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.1623, allocations: 8.922 kB / 0.7681 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.1623, allocations: 3.938 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1623, allocations: 38.5 kB / 0.7682 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1623, allocations: 4 kB / 0.7682 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.1624, allocations: 45.58 kB / 0.7682 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1625, allocations: 51.41 kB / 0.7683 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1626, allocations: 117.8 kB / 0.7684 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1626, allocations: 29.7 kB / 0.7684 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.1627, allocations: 84.14 kB / 0.7685 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.1627, allocations: 3.938 kB / 0.7685 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.1627, allocations: 13.84 kB / 0.7685 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1629, allocations: 322.8 kB / 0.7688 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-06/0.1629, allocations: 0 / 0.7688 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-06/0.1629, allocations: 4 kB / 0.7688 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.1629, allocations: 12.8 kB / 0.7688 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1629, allocations: 0 / 0.7688 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.673e-05/0.163, allocations: 45.64 kB / 0.7689 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.163, allocations: 7.938 kB / 0.7689 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.163, allocations: 4.094 kB / 0.7689 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.163, allocations: 0 / 0.7689 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.84e-05/0.1631, allocations: 4 kB / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.1631, allocations: 0 / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.1631, allocations: 0 / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.1631, allocations: 0 / 0.7689 GB, free: 5.664 MB / 0.5606 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 6.996e-05/0.1632, allocations: 110.5 kB / 0.769 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.1632, allocations: 3.938 kB / 0.769 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.106e-05/0.1633, allocations: 53.16 kB / 0.7691 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1633, allocations: 4.031 kB / 0.7691 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1633, allocations: 0 / 0.7691 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1633, allocations: 0 / 0.7691 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1634, allocations: 157.7 kB / 0.7692 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1634, allocations: 0 / 0.7692 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.1635, allocations: 4 kB / 0.7692 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1635, allocations: 3.938 kB / 0.7692 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.1635, allocations: 0 / 0.7692 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1635, allocations: 0 / 0.7692 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1635, allocations: 0 / 0.7692 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.469e-05/0.1636, allocations: 69.03 kB / 0.7693 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.1636, allocations: 81.09 kB / 0.7694 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1636, allocations: 7.938 kB / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.147e-05/0.1637, allocations: 0 / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-06/0.1637, allocations: 0 / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.1637, allocations: 0 / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.518e-05/0.1637, allocations: 99.2 kB / 0.7695 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.065e-06/0.1638, allocations: 0 / 0.7695 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002409/0.164, allocations: 11.97 kB / 0.7695 GB, free: 4.969 MB / 0.5606 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.000441/0.1644, allocations: 0.6258 MB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.066e-05/0.1645, allocations: 11.94 kB / 0.7701 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1645, allocations: 0 / 0.7701 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.1645, allocations: 0 / 0.7701 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.1647, allocations: 10.03 kB / 0.7701 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009624/0.1657, allocations: 1.114 MB / 0.7712 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.166, allocations: 0.6768 MB / 0.7719 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.166, allocations: 12.02 kB / 0.7719 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.166, allocations: 7.438 kB / 0.7719 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.1661, allocations: 0 / 0.7719 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.418/1.584, allocations: 1.405 MB / 0.7733 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.77/10.35, allocations: 14.28 kB / 0.7733 GB, free: 1.105 MB / 0.5606 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)