Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.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.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",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.001402/0.001402, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001632/0.001633, allocations: 193.2 kB / 16.25 MB, free: 6.625 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 286.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9724/0.9724, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 95.22 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1353, allocations: 86.98 MB / 0.6797 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002821/0.1382, allocations: 1.694 MB / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008359/0.139, allocations: 0.5193 MB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.1391, allocations: 0 / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.1396, allocations: 174.8 kB / 0.6821 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.1399, allocations: 153.8 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.1403, allocations: 179.2 kB / 0.6824 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1405, allocations: 211.5 kB / 0.6826 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1406, allocations: 33.48 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.1407, allocations: 87.66 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.1409, allocations: 155.6 kB / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.141, allocations: 12 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.717e-05/0.141, allocations: 40 kB / 0.6829 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.149e-05/0.1411, allocations: 83.69 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.1412, allocations: 95.27 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.1415, allocations: 255.1 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1415, allocations: 4 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1415, allocations: 0 / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1415, allocations: 0 / 0.6833 GB, free: 13.33 MB / 494.1 MB 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.0007072/0.1422, allocations: 0.5836 MB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1423, allocations: 11.97 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.1423, allocations: 38.75 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.1424, allocations: 32.56 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.1428, allocations: 370.3 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1428, allocations: 4.375 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.1428, allocations: 4.312 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.143, allocations: 77.59 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.143, allocations: 3.938 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.143, allocations: 0 / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1431, allocations: 0 / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.1432, allocations: 59.95 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.1437, allocations: 420.5 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1439, allocations: 58.53 kB / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.144, allocations: 24.91 kB / 0.6849 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.144, allocations: 0 / 0.6849 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.144, allocations: 34.56 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.144, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003692/0.1444, allocations: 121.4 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1445, allocations: 55.41 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/0.145, allocations: 0.5054 MB / 0.6856 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.145, allocations: 29.64 kB / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1451, allocations: 168 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.1452, allocations: 15.73 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1452, allocations: 17.72 kB / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1453, allocations: 338.8 kB / 0.6862 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.1454, allocations: 27.97 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.1455, allocations: 15.98 kB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1456, allocations: 40.83 kB / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1457, allocations: 0 / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002208/0.1459, allocations: 97.31 kB / 0.6863 GB, free: 9.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1459, allocations: 15.98 kB / 0.6864 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1459, allocations: 0 / 0.6864 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.1459, allocations: 0 / 0.6864 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.146, allocations: 8 kB / 0.6864 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.146, allocations: 0 / 0.6864 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.185e-05/0.1461, allocations: 11.92 kB / 0.6864 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.1461, allocations: 0 / 0.6864 GB, free: 9.949 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.1463, allocations: 166.5 kB / 0.6865 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.1463, allocations: 43.61 kB / 0.6866 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.1466, allocations: 108 kB / 0.6867 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1466, allocations: 0 / 0.6867 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1466, allocations: 3.938 kB / 0.6867 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1466, allocations: 3.938 kB / 0.6867 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.1469, allocations: 265.5 kB / 0.6869 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1469, allocations: 0 / 0.6869 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.147, allocations: 8 kB / 0.6869 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.147, allocations: 4 kB / 0.6869 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.147, allocations: 3.984 kB / 0.687 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.147, allocations: 0 / 0.687 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.147, allocations: 0 / 0.687 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1473, allocations: 199.5 kB / 0.6871 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.1474, allocations: 112.8 kB / 0.6873 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1474, allocations: 3.984 kB / 0.6873 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.1475, allocations: 11.94 kB / 0.6873 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.1475, allocations: 11.92 kB / 0.6873 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1475, allocations: 3.938 kB / 0.6873 GB, free: 8.914 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003779/0.1479, allocations: 387.1 kB / 0.6877 GB, free: 8.539 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1479, allocations: 0 / 0.6877 GB, free: 8.539 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1482, allocations: 23.94 kB / 0.6877 GB, free: 8.516 MB / 494.1 MB 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 (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.001225/0.1494, allocations: 0.9734 MB / 0.6886 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1496, allocations: 43.89 kB / 0.6887 GB, free: 7.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1497, allocations: 0 / 0.6887 GB, free: 7.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.1497, allocations: 19.98 kB / 0.6887 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.1502, allocations: 51.3 kB / 0.6887 GB, free: 7.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.1531, allocations: 2.632 MB / 0.6913 GB, free: 4.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1535, allocations: 0.7749 MB / 0.6921 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.612e-05/0.1536, allocations: 41.92 kB / 0.6921 GB, free: 3.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.1537, allocations: 83.41 kB / 0.6922 GB, free: 3.902 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1537, allocations: 0 / 0.6922 GB, free: 3.902 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.1679, allocations: 4.816 MB / 0.6969 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.1681, allocations: 257 kB / 0.6971 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/1.99, allocations: 0 / 0.6971 GB, free: 14.94 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)