Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_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.00606/0.00606, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.001116/0.001116, allocations: 188.4 kB / 16.67 MB, free: 5.422 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001963/0.001963, allocations: 293 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.883/0.883, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 91.86 kB / 0.6809 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4026, allocations: 86.98 MB / 0.7659 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003435/0.4061, allocations: 1.496 MB / 0.7673 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.4075, allocations: 1.099 MB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.4076, allocations: 7.938 kB / 0.7684 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.4078, allocations: 19.84 kB / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.408, allocations: 39.78 kB / 0.7685 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.4082, allocations: 59.86 kB / 0.7685 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.4085, allocations: 147.6 kB / 0.7687 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.4087, allocations: 67.89 kB / 0.7687 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.4088, allocations: 83.7 kB / 0.7688 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.409, allocations: 51.75 kB / 0.7689 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.409, allocations: 12 kB / 0.7689 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.947e-05/0.4091, allocations: 27.94 kB / 0.7689 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.4092, allocations: 47.88 kB / 0.769 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.991e-05/0.4093, allocations: 75.52 kB / 0.769 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.4095, allocations: 203.4 kB / 0.7692 GB, free: 476 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4096, allocations: 0 / 0.7692 GB, free: 476 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4096, allocations: 8 kB / 0.7692 GB, free: 468 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.4096, allocations: 0 / 0.7692 GB, free: 468 kB / 0.5294 GB 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.0007247/0.4103, allocations: 490.6 kB / 0.7697 GB, free: 15.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4104, allocations: 12.03 kB / 0.7697 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.4104, allocations: 42.73 kB / 0.7697 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.4105, allocations: 20.66 kB / 0.7698 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.4108, allocations: 256.9 kB / 0.77 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.411, allocations: 123.4 kB / 0.7701 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.411, allocations: 8.375 kB / 0.7701 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.4113, allocations: 161.5 kB / 0.7703 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4113, allocations: 0 / 0.7703 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.4114, allocations: 0 / 0.7703 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.4114, allocations: 11.98 kB / 0.7703 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.327e-05/0.4115, allocations: 47.91 kB / 0.7703 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009914/0.4125, allocations: 460.3 kB / 0.7708 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.471e-05/0.4126, allocations: 34.52 kB / 0.7708 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.4126, allocations: 20.84 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.4127, allocations: 4 kB / 0.7708 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.4127, allocations: 38.56 kB / 0.7709 GB, free: 14.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.4127, allocations: 0 / 0.7709 GB, free: 14.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003034/0.413, allocations: 105.6 kB / 0.771 GB, free: 14.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.4131, allocations: 63.28 kB / 0.771 GB, free: 14.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.4133, allocations: 207.9 kB / 0.7712 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.4134, allocations: 29.7 kB / 0.7713 GB, free: 14.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.355e-05/0.4135, allocations: 128 kB / 0.7714 GB, free: 14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.4135, allocations: 27.56 kB / 0.7714 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.4136, allocations: 37.7 kB / 0.7715 GB, free: 13.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4137, allocations: 326.8 kB / 0.7718 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.288e-05/0.4138, allocations: 23.97 kB / 0.7718 GB, free: 13.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.4139, allocations: 94.3 kB / 0.7719 GB, free: 13.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.4141, allocations: 146.1 kB / 0.772 GB, free: 13.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4141, allocations: 0 / 0.772 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003476/0.4145, allocations: 157.2 kB / 0.7722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4145, allocations: 4 kB / 0.7722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4145, allocations: 4 kB / 0.7722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4145, allocations: 4 kB / 0.7722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.4146, allocations: 27.98 kB / 0.7722 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.4146, allocations: 11.88 kB / 0.7722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.4147, allocations: 4.375 kB / 0.7722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.4147, allocations: 8 kB / 0.7722 GB, free: 13.05 MB / 0.545 GB 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.0002152/0.415, allocations: 146.4 kB / 0.7724 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.415, allocations: 15.81 kB / 0.7724 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.4153, allocations: 119 kB / 0.7725 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4153, allocations: 7.984 kB / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4153, allocations: 3.938 kB / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4153, allocations: 0 / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.4156, allocations: 229.5 kB / 0.7727 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4156, allocations: 7.938 kB / 0.7727 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.4156, allocations: 23.98 kB / 0.7728 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4156, allocations: 0 / 0.7728 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4156, allocations: 4 kB / 0.7728 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4157, allocations: 0 / 0.7728 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4157, allocations: 3.938 kB / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.4159, allocations: 183.3 kB / 0.7729 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.4159, allocations: 92.91 kB / 0.773 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.416, allocations: 4 kB / 0.773 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.4162, allocations: 19.98 kB / 0.773 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.4162, allocations: 11.92 kB / 0.7731 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.4164, allocations: 15.97 kB / 0.7731 GB, free: 12.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00018/0.4166, allocations: 162.1 kB / 0.7732 GB, free: 11.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4166, allocations: 0 / 0.7732 GB, free: 11.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003114/0.4169, allocations: 32 kB / 0.7733 GB, free: 11.89 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 (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.0009702/0.4179, allocations: 0.7531 MB / 0.774 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.4181, allocations: 72.03 kB / 0.7741 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.4181, allocations: 0 / 0.7741 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.4182, allocations: 23.98 kB / 0.7741 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.4186, allocations: 23.92 kB / 0.7741 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.4208, allocations: 1.925 MB / 0.776 GB, free: 8.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.4212, allocations: 0.7352 MB / 0.7767 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.4214, allocations: 52.84 kB / 0.7768 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.4216, allocations: 51.41 kB / 0.7768 GB, free: 8.066 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4216, allocations: 0 / 0.7768 GB, free: 8.066 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.4432, allocations: 4.244 MB / 0.781 GB, free: 3.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/7.836, allocations: 3.75 kB / 0.781 GB, free: 3.977 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)