Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_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.005293/0.005293, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001228/0.001229, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 287.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9048/0.9048, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 95.86 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3908, allocations: 86.98 MB / 0.7659 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002397/0.3933, allocations: 1.355 MB / 0.7672 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001417/0.3934, allocations: 27.89 kB / 0.7673 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.3935, allocations: 3.938 kB / 0.7673 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.3936, allocations: 15.91 kB / 0.7673 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.3938, allocations: 7.938 kB / 0.7673 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.3938, allocations: 0 / 0.7673 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.481e-05/0.3938, allocations: 15.98 kB / 0.7673 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.3939, allocations: 4 kB / 0.7673 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.493e-05/0.3939, allocations: 11.88 kB / 0.7673 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.394, allocations: 19.91 kB / 0.7673 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.394, allocations: 4 kB / 0.7673 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.497e-05/0.3941, allocations: 12 kB / 0.7673 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.3941, allocations: 0 / 0.7673 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.3941, allocations: 11.94 kB / 0.7674 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.928e-05/0.3942, allocations: 19.91 kB / 0.7674 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3942, allocations: 3.938 kB / 0.7674 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3942, allocations: 0 / 0.7674 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3942, allocations: 0 / 0.7674 GB, free: 2.363 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.000301/0.3946, allocations: 331.5 kB / 0.7677 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3946, allocations: 15.97 kB / 0.7677 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.3947, allocations: 38.73 kB / 0.7677 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.3947, allocations: 4.844 kB / 0.7678 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3948, allocations: 176.3 kB / 0.7679 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.3949, allocations: 384 / 0.7679 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.3949, allocations: 4.375 kB / 0.7679 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.167e-05/0.395, allocations: 34.2 kB / 0.768 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.395, allocations: 3.938 kB / 0.768 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.395, allocations: 0 / 0.768 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.395, allocations: 4 kB / 0.768 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.449e-05/0.395, allocations: 11.98 kB / 0.768 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.3953, allocations: 240.9 kB / 0.7682 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.3e-05/0.3954, allocations: 26.45 kB / 0.7682 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.3954, allocations: 8.844 kB / 0.7682 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3954, allocations: 0 / 0.7682 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.3954, allocations: 34.62 kB / 0.7683 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.3955, allocations: 4 kB / 0.7683 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.3956, allocations: 29.7 kB / 0.7683 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.3956, allocations: 59.41 kB / 0.7684 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.3957, allocations: 109.8 kB / 0.7685 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3958, allocations: 25.7 kB / 0.7685 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.3958, allocations: 88.12 kB / 0.7686 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.3958, allocations: 7.844 kB / 0.7686 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.3959, allocations: 13.72 kB / 0.7686 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.396, allocations: 319 kB / 0.7689 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.396, allocations: 4 kB / 0.7689 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.396, allocations: 0 / 0.7689 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.396, allocations: 12.84 kB / 0.7689 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.396, allocations: 3.938 kB / 0.7689 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.05e-05/0.3961, allocations: 33.7 kB / 0.769 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3961, allocations: 4 kB / 0.769 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3961, allocations: 0 / 0.769 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3961, allocations: 4.094 kB / 0.769 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.325e-05/0.3962, allocations: 4 kB / 0.769 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3962, allocations: 7.875 kB / 0.769 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.3962, allocations: 0 / 0.769 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.3962, allocations: 0 / 0.769 GB, free: 0.4961 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 6.848e-05/0.3963, allocations: 121.8 kB / 0.7691 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.3963, allocations: 3.938 kB / 0.7691 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.529e-05/0.3964, allocations: 41.22 kB / 0.7691 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3964, allocations: 4.031 kB / 0.7691 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3965, allocations: 0 / 0.7691 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3965, allocations: 0 / 0.7691 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.3966, allocations: 165.5 kB / 0.7693 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3966, allocations: 3.984 kB / 0.7693 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.3966, allocations: 4 kB / 0.7693 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3967, allocations: 0 / 0.7693 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.3967, allocations: 0 / 0.7693 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3967, allocations: 0 / 0.7693 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3967, allocations: 0 / 0.7693 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.3968, allocations: 143.4 kB / 0.7694 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.3968, allocations: 81.11 kB / 0.7695 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.3969, allocations: 0 / 0.7695 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.096e-05/0.3969, allocations: 0 / 0.7695 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.3969, allocations: 0 / 0.7695 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3969, allocations: 4 kB / 0.7695 GB, free: 15.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.397, allocations: 95.27 kB / 0.7696 GB, free: 15.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/0.397, allocations: 0 / 0.7696 GB, free: 15.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002349/0.3972, allocations: 8.031 kB / 0.7696 GB, free: 15.73 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.000461/0.3977, allocations: 0.689 MB / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.296e-05/0.3978, allocations: 7.984 kB / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3978, allocations: 0 / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.033e-05/0.3978, allocations: 4 kB / 0.7703 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.398, allocations: 4 kB / 0.7703 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009451/0.399, allocations: 1.183 MB / 0.7715 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.3992, allocations: 0.6768 MB / 0.7721 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.747e-05/0.3993, allocations: 15.89 kB / 0.7721 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.3993, allocations: 11.44 kB / 0.7721 GB, free: 13.02 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.3993, allocations: 0 / 0.7721 GB, free: 13.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.4156, allocations: 1.391 MB / 0.7735 GB, free: 11.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.63, allocations: 11.03 kB / 0.7735 GB, free: 11.71 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)