Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.651/2.651, allocations: 287.5 MB / 302.4 MB, free: 8.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 180.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009228/0.0009227, allocations: 90.94 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004947, allocations: 11.19 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2144, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.00215/0.2166, allocations: 1.34 MB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2177, allocations: 407.7 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-05/0.2178, allocations: 4 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005987/0.2184, allocations: 171.8 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.2188, allocations: 147.6 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.2194, allocations: 148 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.2197, allocations: 167.5 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.2198, allocations: 29.83 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2199, allocations: 71.73 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.2202, allocations: 131.6 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.2202, allocations: 4 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.2204, allocations: 31.98 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.54e-05/0.2205, allocations: 67.75 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.692e-05/0.2205, allocations: 57.58 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.2208, allocations: 211.5 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2208, allocations: 0 / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2209, allocations: 0 / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2209, allocations: 4 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009909/0.2219, allocations: 0.5486 MB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.222, allocations: 8.031 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.649e-05/0.222, allocations: 38.56 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.2222, allocations: 35.56 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008039/0.223, allocations: 353.4 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.223, allocations: 7.938 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.223, allocations: 8 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.2233, allocations: 81.53 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2234, allocations: 0 / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2234, allocations: 4 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2234, allocations: 0 / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.2237, allocations: 63.95 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.2243, allocations: 428.5 kB / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.2246, allocations: 58.61 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.2247, allocations: 28.84 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.2248, allocations: 7.969 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2248, allocations: 42.55 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.933e-06/0.2248, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005831/0.2254, allocations: 133.2 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.2255, allocations: 59.41 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007092/0.2262, allocations: 0.5055 MB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2262, allocations: 29.7 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.2264, allocations: 160 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.2264, allocations: 11.83 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.2264, allocations: 8 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.2265, allocations: 342.8 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2267, allocations: 23.98 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.2268, allocations: 27.97 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.227, allocations: 27.92 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.227, allocations: 0 / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003682/0.2274, allocations: 109.3 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.2274, allocations: 8 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.2274, allocations: 3.953 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2274, allocations: 0 / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2276, allocations: 11.98 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.2276, allocations: 4 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.2277, allocations: 11.98 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.2278, allocations: 0 / 0.9844 GB, free: 21.94 MB / 0.6198 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.2279, allocations: 169.8 kB / 0.9846 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.228, allocations: 27.62 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004345/0.2284, allocations: 135.9 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2285, allocations: 3.953 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2285, allocations: 0 / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2285, allocations: 3.938 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.2288, allocations: 257.5 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2288, allocations: 0 / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.2289, allocations: 19.98 kB / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.2289, allocations: 0 / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.229, allocations: 0 / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.229, allocations: 0 / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.229, allocations: 3.953 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.2294, allocations: 211.1 kB / 0.9852 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.2295, allocations: 116.8 kB / 0.9853 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.2296, allocations: 0 / 0.9853 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.2297, allocations: 8 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.2298, allocations: 7.938 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2298, allocations: 0 / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005663/0.2304, allocations: 387.1 kB / 0.9857 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2304, allocations: 4 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003769/0.2308, allocations: 23.91 kB / 0.9857 GB, free: 20.48 MB / 0.6198 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001497/0.2323, allocations: 0.9731 MB / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.2327, allocations: 67.83 kB / 0.9867 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2327, allocations: 0 / 0.9867 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.2329, allocations: 27.98 kB / 0.9868 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.2335, allocations: 53.77 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.237, allocations: 1.731 MB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.2373, allocations: 0.783 MB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.2375, allocations: 33.95 kB / 0.9893 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.2376, allocations: 87.39 kB / 0.9894 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of SimCode: time 1.373e-06/0.2376, allocations: 0 / 0.9894 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.2623, allocations: 4.966 MB / 0.9942 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/0.2627, allocations: 220 kB / 0.9944 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.75/3.013, allocations: 4 kB / 0.9944 GB, free: 11.68 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1)