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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 217.8 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00256/0.00256, allocations: 293.5 kB / 312.7 MB, free: 2.629 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.208/1.208, allocations: 180.6 MB / 0.5369 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002948/0.002948, allocations: 101.1 kB / 0.7395 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1756, allocations: 95.39 MB / 0.8326 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.003125/0.1787, allocations: 1.681 MB / 0.8343 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1799, allocations: 0.6276 MB / 0.8349 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.18, allocations: 4 kB / 0.8349 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.1805, allocations: 188.9 kB / 0.8351 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.181, allocations: 211.3 kB / 0.8353 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.1814, allocations: 194.9 kB / 0.8354 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.1817, allocations: 215.4 kB / 0.8356 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1818, allocations: 22.03 kB / 0.8357 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1819, allocations: 91.66 kB / 0.8358 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.1821, allocations: 167.5 kB / 0.8359 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.1822, allocations: 16 kB / 0.8359 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.1823, allocations: 43.98 kB / 0.836 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1824, allocations: 87.67 kB / 0.8361 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.1825, allocations: 75.41 kB / 0.8361 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.1828, allocations: 278.7 kB / 0.8364 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1828, allocations: 4 kB / 0.8364 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1828, allocations: 0 / 0.8364 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1828, allocations: 0 / 0.8364 GB, free: 4.492 MB / 0.5762 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.000814/0.1836, allocations: 0.5315 MB / 0.8369 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1837, allocations: 13.34 kB / 0.8369 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.1837, allocations: 38.67 kB / 0.837 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.1838, allocations: 36.7 kB / 0.837 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.1843, allocations: 324.7 kB / 0.8373 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1843, allocations: 4.375 kB / 0.8373 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1843, allocations: 384 / 0.8373 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.1845, allocations: 81.59 kB / 0.8374 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1845, allocations: 0 / 0.8374 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-06/0.1845, allocations: 0 / 0.8374 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1845, allocations: 0 / 0.8374 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.1847, allocations: 55.89 kB / 0.8374 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.1853, allocations: 375.8 kB / 0.8378 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1854, allocations: 62.52 kB / 0.8379 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.1855, allocations: 24.91 kB / 0.8379 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1856, allocations: 0 / 0.8379 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1856, allocations: 34.56 kB / 0.8379 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1856, allocations: 0 / 0.8379 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003868/0.186, allocations: 121.3 kB / 0.838 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.186, allocations: 59.39 kB / 0.8381 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/0.1867, allocations: 0.5289 MB / 0.8386 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1867, allocations: 29.7 kB / 0.8386 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.1868, allocations: 172.1 kB / 0.8388 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.1868, allocations: 7.891 kB / 0.8388 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.1869, allocations: 17.7 kB / 0.8388 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.187, allocations: 342.8 kB / 0.8392 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.1871, allocations: 15.98 kB / 0.8392 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.399e-05/0.1872, allocations: 23.98 kB / 0.8392 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.1874, allocations: 44.83 kB / 0.8392 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1874, allocations: 0 / 0.8392 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002384/0.1876, allocations: 105.4 kB / 0.8393 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1876, allocations: 6.188 kB / 0.8393 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1876, allocations: 0 / 0.8393 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1876, allocations: 3.938 kB / 0.8393 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.1877, allocations: 11.98 kB / 0.8394 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1877, allocations: 0 / 0.8394 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.102e-05/0.1878, allocations: 19.88 kB / 0.8394 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1878, allocations: 4 kB / 0.8394 GB, free: 1.246 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.188, allocations: 166.5 kB / 0.8395 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.188, allocations: 27.81 kB / 0.8396 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.1883, allocations: 116.6 kB / 0.8397 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-06/0.1883, allocations: 0 / 0.8397 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1883, allocations: 3.984 kB / 0.8397 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1883, allocations: 7.922 kB / 0.8397 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.1886, allocations: 224.7 kB / 0.8399 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1886, allocations: 4 kB / 0.8399 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.358e-05/0.1887, allocations: 15.98 kB / 0.8399 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1887, allocations: 0 / 0.8399 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.1887, allocations: 0 / 0.8399 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1887, allocations: 0 / 0.8399 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1887, allocations: 4 kB / 0.8399 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.189, allocations: 207.2 kB / 0.8401 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.1891, allocations: 35.8 kB / 0.8402 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1891, allocations: 4 kB / 0.8402 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1892, allocations: 4 kB / 0.8402 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1892, allocations: 15.86 kB / 0.8402 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.1892, allocations: 0 / 0.8402 GB, free: 356 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004985/0.1897, allocations: 399.1 kB / 0.8406 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1897, allocations: 3.938 kB / 0.8406 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002613/0.19, allocations: 31.92 kB / 0.8406 GB, free: 15.92 MB / 0.5919 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 (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.001981/0.192, allocations: 0.9942 MB / 0.8416 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.1922, allocations: 39.95 kB / 0.8416 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1922, allocations: 0 / 0.8416 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.198e-05/0.1923, allocations: 27.92 kB / 0.8416 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.1927, allocations: 51.92 kB / 0.8417 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.196, allocations: 2.657 MB / 0.8443 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.1962, allocations: 169.8 kB / 0.8444 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.998e-05/0.1962, allocations: 37.92 kB / 0.8445 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.1964, allocations: 91.39 kB / 0.8446 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.1964, allocations: 0 / 0.8446 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.2288, allocations: 5.923 MB / 0.8503 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.28, allocations: 8.781 kB / 0.8503 GB, free: 6.047 MB / 0.5919 GB " [Timeout remaining time 649] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.388016575016081] Failed to read output from testmodel.py, exit status != 0: 11.44398607313633 11.470587193 11.283138002 Calling exit ...