Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004956/0.004956, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.0009897/0.0009897, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 251.7 MB / 0.5094 GB, free: 3.086 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 72.45 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.177, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003775/0.1808, allocations: 2.629 MB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1822, allocations: 0.9631 MB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.1824, allocations: 11.94 kB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.1826, allocations: 67.33 kB / 0.8316 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.1827, allocations: 63.41 kB / 0.8317 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.1832, allocations: 234.5 kB / 0.8319 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.1836, allocations: 471.6 kB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.1839, allocations: 221.1 kB / 0.8325 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.184, allocations: 147.3 kB / 0.8327 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.1841, allocations: 155.1 kB / 0.8328 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.1842, allocations: 52 kB / 0.8329 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.49e-05/0.1842, allocations: 52 kB / 0.8329 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.1843, allocations: 79.78 kB / 0.833 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.1844, allocations: 191 kB / 0.8332 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.1849, allocations: 0.6268 MB / 0.8338 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1849, allocations: 0 / 0.8338 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1849, allocations: 0 / 0.8338 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.185, allocations: 0 / 0.8338 GB, free: 10.27 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008038/0.1858, allocations: 0.6507 MB / 0.8344 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1858, allocations: 12.03 kB / 0.8345 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.1859, allocations: 48.41 kB / 0.8345 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.1863, allocations: 403.2 kB / 0.8349 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.1864, allocations: 24.94 kB / 0.8349 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.1864, allocations: 28.38 kB / 0.8349 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.1869, allocations: 317.7 kB / 0.8352 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1869, allocations: 0 / 0.8352 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.187, allocations: 16 kB / 0.8353 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.187, allocations: 12 kB / 0.8353 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.1874, allocations: 238.1 kB / 0.8355 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.1887, allocations: 1.155 MB / 0.8366 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.1891, allocations: 234.8 kB / 0.8368 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.1893, allocations: 92.83 kB / 0.8369 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1893, allocations: 4 kB / 0.8369 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1894, allocations: 34.56 kB / 0.837 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.1894, allocations: 0 / 0.837 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0005977/0.19, allocations: 300.3 kB / 0.8373 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.19, allocations: 85.09 kB / 0.8373 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1903, allocations: 337.6 kB / 0.8377 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1904, allocations: 37.64 kB / 0.8377 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1905, allocations: 192.1 kB / 0.8379 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.1905, allocations: 55.2 kB / 0.8379 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.1906, allocations: 45.7 kB / 0.838 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1907, allocations: 338.8 kB / 0.8383 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.1909, allocations: 88.83 kB / 0.8384 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.1911, allocations: 119.4 kB / 0.8385 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.1914, allocations: 190.4 kB / 0.8387 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1914, allocations: 0 / 0.8387 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004076/0.1918, allocations: 249.2 kB / 0.8389 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1918, allocations: 4 kB / 0.8389 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1919, allocations: 7.984 kB / 0.8389 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1919, allocations: 3.938 kB / 0.8389 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1921, allocations: 36.05 kB / 0.839 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1921, allocations: 8 kB / 0.839 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1922, allocations: 31.61 kB / 0.839 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.1922, allocations: 8 kB / 0.839 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002083/0.1924, allocations: 188.1 kB / 0.8392 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001375/0.1926, allocations: 107.3 kB / 0.8393 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002308/0.1928, allocations: 161.1 kB / 0.8394 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.21e-07/0.1928, allocations: 4 kB / 0.8394 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000317/0.1931, allocations: 229.1 kB / 0.8397 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1932, allocations: 7.125 kB / 0.8397 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.1932, allocations: 0 / 0.8397 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-06/0.1932, allocations: 4 kB / 0.8397 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1933, allocations: 31.98 kB / 0.8397 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-06/0.1933, allocations: 0 / 0.8397 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1934, allocations: 19.84 kB / 0.8397 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1934, allocations: 7.938 kB / 0.8397 GB, free: 3.91 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001017/0.1935, allocations: 196.2 kB / 0.8399 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.1936, allocations: 31.62 kB / 0.8399 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.1937, allocations: 35.28 kB / 0.84 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1937, allocations: 0 / 0.84 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1937, allocations: 4 kB / 0.84 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1937, allocations: 3.938 kB / 0.84 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.1941, allocations: 409.3 kB / 0.8404 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1941, allocations: 0 / 0.8404 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1943, allocations: 23.98 kB / 0.8404 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1943, allocations: 0 / 0.8404 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1943, allocations: 4 kB / 0.8404 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1943, allocations: 4 kB / 0.8404 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1943, allocations: 0 / 0.8404 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.1949, allocations: 442.9 kB / 0.8408 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.195, allocations: 132.7 kB / 0.841 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.1951, allocations: 8 kB / 0.841 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1952, allocations: 4 kB / 0.841 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.1953, allocations: 15.92 kB / 0.841 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.1953, allocations: 7.984 kB / 0.841 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002074/0.1955, allocations: 243.2 kB / 0.8412 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1955, allocations: 0 / 0.8412 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003532/0.1959, allocations: 87.69 kB / 0.8413 GB, free: 2.199 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001028/0.196, allocations: 107.1 kB / 0.8414 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005267/0.1965, allocations: 280 kB / 0.8417 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1965, allocations: 4.062 kB / 0.8417 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1967, allocations: 95.84 kB / 0.8418 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.1972, allocations: 100.9 kB / 0.8419 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009286/0.1981, allocations: 0.563 MB / 0.8424 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1985, allocations: 0.7829 MB / 0.8432 GB, free: 232 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.1986, allocations: 22.28 kB / 0.8432 GB, free: 208 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.1987, allocations: 23.44 kB / 0.8432 GB, free: 184 kB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.1987, allocations: 0 / 0.8432 GB, free: 184 kB / 0.6544 GB Notification: Performance of Templates: time 0.006433/0.2051, allocations: 3.187 MB / 0.8463 GB, free: 13.02 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)