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.006991/0.006991, allocations: 102.9 kB / 15.74 MB, free: 5.551 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.001389/0.001389, allocations: 196.2 kB / 16.67 MB, free: 5.48 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 289.8 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 1.01/1.01, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002966/0.002966, allocations: 99.84 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.512, allocations: 86.98 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003185/0.5152, allocations: 1.476 MB / 0.7673 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.5169, allocations: 1.111 MB / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.157e-05/0.517, allocations: 0 / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.5172, allocations: 23.86 kB / 0.7684 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.5175, allocations: 39.77 kB / 0.7685 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.5177, allocations: 57.91 kB / 0.7685 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.5179, allocations: 159.5 kB / 0.7687 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.5181, allocations: 52.91 kB / 0.7687 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.5182, allocations: 87.75 kB / 0.7688 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.5184, allocations: 47.77 kB / 0.7689 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.5185, allocations: 12 kB / 0.7689 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.5186, allocations: 27.98 kB / 0.7689 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/0.5187, allocations: 51.77 kB / 0.769 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.928e-05/0.5188, allocations: 71.58 kB / 0.769 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.5191, allocations: 200.6 kB / 0.7692 GB, free: 480 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5191, allocations: 0 / 0.7692 GB, free: 480 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5191, allocations: 3.938 kB / 0.7692 GB, free: 476 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5191, allocations: 0 / 0.7692 GB, free: 476 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.000776/0.5199, allocations: 0.5023 MB / 0.7697 GB, free: 15.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.5199, allocations: 8.031 kB / 0.7697 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.52, allocations: 42.73 kB / 0.7698 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.5201, allocations: 20.78 kB / 0.7698 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.5204, allocations: 265 kB / 0.77 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.5205, allocations: 115.4 kB / 0.7701 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.5206, allocations: 4.375 kB / 0.7701 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.5209, allocations: 161.5 kB / 0.7703 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5209, allocations: 0 / 0.7703 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.521, allocations: 0 / 0.7703 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.521, allocations: 11.98 kB / 0.7703 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.089e-05/0.5211, allocations: 47.91 kB / 0.7704 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.5221, allocations: 464.4 kB / 0.7708 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.215e-05/0.5222, allocations: 38.5 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.5223, allocations: 20.86 kB / 0.7709 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.5223, allocations: 3.984 kB / 0.7709 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.5223, allocations: 38.56 kB / 0.7709 GB, free: 14.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.5223, allocations: 4 kB / 0.7709 GB, free: 14.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0002513/0.5226, allocations: 97.58 kB / 0.771 GB, free: 14.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.5227, allocations: 59.28 kB / 0.7711 GB, free: 14.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.5229, allocations: 215.9 kB / 0.7713 GB, free: 14.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.5229, allocations: 29.7 kB / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.523, allocations: 124.2 kB / 0.7714 GB, free: 13.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.5231, allocations: 27.78 kB / 0.7714 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.5231, allocations: 29.72 kB / 0.7715 GB, free: 13.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5233, allocations: 334.8 kB / 0.7718 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.5233, allocations: 27.98 kB / 0.7718 GB, free: 13.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.5234, allocations: 94.28 kB / 0.7719 GB, free: 13.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.5236, allocations: 146.1 kB / 0.772 GB, free: 13.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5236, allocations: 0 / 0.772 GB, free: 13.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002463/0.5239, allocations: 153.5 kB / 0.7722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5239, allocations: 8 kB / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5239, allocations: 0 / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5239, allocations: 4 kB / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.524, allocations: 27.92 kB / 0.7722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.5241, allocations: 7.938 kB / 0.7722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.5241, allocations: 15.89 kB / 0.7722 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.5242, allocations: 8 kB / 0.7722 GB, free: 13.03 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.0001313/0.5243, allocations: 146.6 kB / 0.7724 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.5243, allocations: 15.91 kB / 0.7724 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.5246, allocations: 123 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5246, allocations: 0 / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5246, allocations: 3.938 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.5246, allocations: 3.938 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.5249, allocations: 233.5 kB / 0.7728 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5249, allocations: 4 kB / 0.7728 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.5249, allocations: 16 kB / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5249, allocations: 0 / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.525, allocations: 8 kB / 0.7728 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.525, allocations: 3.984 kB / 0.7728 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.525, allocations: 3.938 kB / 0.7728 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.5252, allocations: 183.4 kB / 0.773 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.5252, allocations: 92.95 kB / 0.773 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.5253, allocations: 8 kB / 0.7731 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.5255, allocations: 19.97 kB / 0.7731 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.5255, allocations: 7.938 kB / 0.7731 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.5256, allocations: 11.98 kB / 0.7731 GB, free: 12.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001544/0.5257, allocations: 162.1 kB / 0.7732 GB, free: 11.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5257, allocations: 4 kB / 0.7733 GB, free: 11.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002849/0.526, allocations: 27.94 kB / 0.7733 GB, free: 11.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 (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.0006601/0.5267, allocations: 0.7548 MB / 0.774 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.5269, allocations: 76.31 kB / 0.7741 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5269, allocations: 4.25 kB / 0.7741 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.5269, allocations: 27.97 kB / 0.7741 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.5272, allocations: 23.94 kB / 0.7741 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.5292, allocations: 1.912 MB / 0.776 GB, free: 8.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.5296, allocations: 0.7353 MB / 0.7767 GB, free: 8.152 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.5297, allocations: 56.83 kB / 0.7768 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.5298, allocations: 47.42 kB / 0.7768 GB, free: 8.051 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5298, allocations: 0 / 0.7768 GB, free: 8.051 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.5665, allocations: 4.232 MB / 0.781 GB, free: 3.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.723, allocations: 11.69 kB / 0.781 GB, free: 3.961 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)