Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.605/1.605, allocations: 287.4 MB / 303.2 MB, free: 8.191 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.0009547/0.0009547, allocations: 175.2 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0007326/0.0007327, allocations: 88.92 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 11.42 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1791, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00228/0.1814, allocations: 2.204 MB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1826, allocations: 0.8858 MB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.1828, allocations: 11.94 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.1829, allocations: 39.64 kB / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.183, allocations: 43.59 kB / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.1834, allocations: 129.7 kB / 0.9825 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.1837, allocations: 399.6 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.1839, allocations: 217.4 kB / 0.9831 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/0.184, allocations: 83.47 kB / 0.9832 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.1841, allocations: 103.3 kB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.1842, allocations: 8 kB / 0.9833 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.436e-05/0.1842, allocations: 8 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.1842, allocations: 35.78 kB / 0.9833 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.1843, allocations: 93.45 kB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1845, allocations: 498.7 kB / 0.9839 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1846, allocations: 4 kB / 0.9839 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.1846, allocations: 0 / 0.9839 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1846, allocations: 0 / 0.9839 GB, free: 23.42 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006189/0.1852, allocations: 0.5805 MB / 0.9845 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.1852, allocations: 11.97 kB / 0.9845 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.1853, allocations: 40.47 kB / 0.9845 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.1857, allocations: 391.2 kB / 0.9849 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.1857, allocations: 24.94 kB / 0.9849 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.1857, allocations: 28.31 kB / 0.9849 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.1862, allocations: 333.7 kB / 0.9852 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1862, allocations: 0 / 0.9852 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1863, allocations: 16 kB / 0.9853 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1863, allocations: 4 kB / 0.9853 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.1867, allocations: 246.1 kB / 0.9855 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.1878, allocations: 1.186 MB / 0.9867 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.1883, allocations: 243.8 kB / 0.9869 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.1885, allocations: 104.8 kB / 0.987 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1885, allocations: 7.938 kB / 0.987 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.1885, allocations: 30.56 kB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.1885, allocations: 0 / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0005675/0.1891, allocations: 315.8 kB / 0.9873 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.1891, allocations: 85.11 kB / 0.9874 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.1894, allocations: 337.6 kB / 0.9877 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1894, allocations: 29.7 kB / 0.9878 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.1895, allocations: 200 kB / 0.988 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.1896, allocations: 47.27 kB / 0.988 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.1896, allocations: 4 kB / 0.988 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.719e-05/0.1896, allocations: 346.7 kB / 0.9883 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.1898, allocations: 87.97 kB / 0.9884 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.19, allocations: 129.2 kB / 0.9885 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.1903, allocations: 197.1 kB / 0.9887 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1903, allocations: 0 / 0.9887 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003932/0.1907, allocations: 265.1 kB / 0.989 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.1908, allocations: 102.7 kB / 0.9891 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1908, allocations: 8.062 kB / 0.9891 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1908, allocations: 3.938 kB / 0.9891 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.191, allocations: 35.92 kB / 0.9891 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.191, allocations: 3.938 kB / 0.9891 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1911, allocations: 35.67 kB / 0.9892 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1911, allocations: 4 kB / 0.9892 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-06/0.1912, allocations: 4 kB / 0.9892 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002669/0.1914, allocations: 182.4 kB / 0.9893 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.1914, allocations: 0 / 0.9893 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/0.1914, allocations: 4 kB / 0.9893 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1916, allocations: 23.94 kB / 0.9894 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.1916, allocations: 3.984 kB / 0.9894 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.586e-05/0.1917, allocations: 23.75 kB / 0.9894 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1917, allocations: 8 kB / 0.9894 GB, free: 17.5 MB / 0.6198 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.oveWriSet_activate,expMod.oveWriAct_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.1918, allocations: 245.1 kB / 0.9896 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.1919, allocations: 31.62 kB / 0.9897 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.241e-05/0.1919, allocations: 35.28 kB / 0.9897 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.192, allocations: 3.984 kB / 0.9897 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.192, allocations: 0 / 0.9897 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.1921, allocations: 128.7 kB / 0.9898 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.1921, allocations: 15.94 kB / 0.9898 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1922, allocations: 15.98 kB / 0.9899 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1923, allocations: 11.98 kB / 0.9899 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005037/0.1928, allocations: 320.9 kB / 0.9902 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005858/0.1934, allocations: 0.5199 MB / 0.9907 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001629/0.1936, allocations: 99.98 kB / 0.9908 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000173/0.1938, allocations: 243.2 kB / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Backend: time 3.71e-07/0.1938, allocations: 0 / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006147/0.1944, allocations: 298.1 kB / 0.9913 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009821/0.1954, allocations: 1.093 MB / 0.9924 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.005853/0.2012, allocations: 3.803 MB / 0.9961 GB, free: 10.59 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)