Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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: translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008563/0.0008563, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0008457/0.000846, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 270.9 kB / 291.3 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9258/0.9258, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004098, allocations: 18.55 kB / 0.598 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1773, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002957/0.1803, allocations: 2.172 MB / 0.6866 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1818, allocations: 0.8399 MB / 0.6874 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.182, allocations: 11.94 kB / 0.6874 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1821, allocations: 40.39 kB / 0.6875 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.1823, allocations: 41.34 kB / 0.6875 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1826, allocations: 130.6 kB / 0.6876 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.183, allocations: 387.7 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.1833, allocations: 154.1 kB / 0.6881 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.1833, allocations: 79.45 kB / 0.6882 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.1835, allocations: 95.36 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.1835, allocations: 9.25 kB / 0.6883 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.1835, allocations: 11.94 kB / 0.6883 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.1836, allocations: 31.8 kB / 0.6884 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.1836, allocations: 92.7 kB / 0.6885 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.184, allocations: 498.6 kB / 0.6889 GB, free: 10.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.184, allocations: 0 / 0.6889 GB, free: 10.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.646e-06/0.184, allocations: 4 kB / 0.6889 GB, free: 10.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.184, allocations: 0 / 0.6889 GB, free: 10.86 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007982/0.1848, allocations: 0.5748 MB / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1849, allocations: 8.031 kB / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/0.185, allocations: 53.42 kB / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.1854, allocations: 370.2 kB / 0.6899 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.1854, allocations: 20.56 kB / 0.6899 GB, free: 9.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.1855, allocations: 24 kB / 0.6899 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.186, allocations: 336.6 kB / 0.6903 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1861, allocations: 0 / 0.6903 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.1861, allocations: 12 kB / 0.6903 GB, free: 9.387 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1861, allocations: 4 kB / 0.6903 GB, free: 9.383 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.1866, allocations: 249.1 kB / 0.6905 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.188, allocations: 1.173 MB / 0.6917 GB, free: 7.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.1884, allocations: 250.8 kB / 0.6919 GB, free: 7.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.1886, allocations: 108.8 kB / 0.692 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1887, allocations: 4 kB / 0.692 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1887, allocations: 46.5 kB / 0.6921 GB, free: 7.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.1887, allocations: 0 / 0.6921 GB, free: 7.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005989/0.1893, allocations: 314.7 kB / 0.6924 GB, free: 7.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.1893, allocations: 85.11 kB / 0.6924 GB, free: 7.078 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.1897, allocations: 320.5 kB / 0.6927 GB, free: 6.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1897, allocations: 29.7 kB / 0.6928 GB, free: 6.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1898, allocations: 196.1 kB / 0.693 GB, free: 6.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1899, allocations: 59.23 kB / 0.693 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.1899, allocations: 4 kB / 0.693 GB, free: 6.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.19, allocations: 338.8 kB / 0.6933 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.1902, allocations: 83.97 kB / 0.6934 GB, free: 6.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.1904, allocations: 123.4 kB / 0.6935 GB, free: 5.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1906, allocations: 93.39 kB / 0.6936 GB, free: 5.812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1906, allocations: 0 / 0.6936 GB, free: 5.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004375/0.191, allocations: 271.8 kB / 0.6939 GB, free: 5.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.1911, allocations: 110.8 kB / 0.694 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1911, allocations: 3.938 kB / 0.694 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1911, allocations: 4 kB / 0.694 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1913, allocations: 31.98 kB / 0.694 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1913, allocations: 0 / 0.694 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.1914, allocations: 35.7 kB / 0.6941 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.1915, allocations: 4 kB / 0.6941 GB, free: 5.344 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.251e-06/0.1915, allocations: 8 kB / 0.6941 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002828/0.1918, allocations: 171.8 kB / 0.6942 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.1918, allocations: 0 / 0.6942 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.1918, allocations: 3.953 kB / 0.6942 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1919, allocations: 35.92 kB / 0.6943 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.1919, allocations: 0 / 0.6943 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.192, allocations: 15.91 kB / 0.6943 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.192, allocations: 12 kB / 0.6943 GB, free: 5.102 MB / 494.1 MB 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.0001683/0.1922, allocations: 245.7 kB / 0.6945 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.1923, allocations: 27.62 kB / 0.6946 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.1923, allocations: 39.23 kB / 0.6946 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1923, allocations: 4 kB / 0.6946 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1923, allocations: 0 / 0.6946 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.1924, allocations: 0 / 0.6946 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.1927, allocations: 409.2 kB / 0.695 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1927, allocations: 0 / 0.695 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.1929, allocations: 31.98 kB / 0.695 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1929, allocations: 3.938 kB / 0.695 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1929, allocations: 4 kB / 0.695 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.1929, allocations: 11.94 kB / 0.6951 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.193, allocations: 0 / 0.6951 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006161/0.1936, allocations: 451 kB / 0.6955 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-05/0.1937, allocations: 132.7 kB / 0.6956 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.1937, allocations: 4 kB / 0.6956 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1939, allocations: 20.05 kB / 0.6956 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.1939, allocations: 11.94 kB / 0.6956 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1939, allocations: 12 kB / 0.6957 GB, free: 3.633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.1941, allocations: 227.1 kB / 0.6959 GB, free: 3.414 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1941, allocations: 0 / 0.6959 GB, free: 3.414 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.1945, allocations: 91.59 kB / 0.696 GB, free: 3.324 MB / 494.1 MB 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 (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 9.883e-05/0.1946, allocations: 113.4 kB / 0.6961 GB, free: 3.207 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000513/0.1951, allocations: 290 kB / 0.6963 GB, free: 2.926 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1951, allocations: 256 / 0.6963 GB, free: 2.926 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.1953, allocations: 103.9 kB / 0.6964 GB, free: 2.824 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.1958, allocations: 80.11 kB / 0.6965 GB, free: 2.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009246/0.1968, allocations: 0.6448 MB / 0.6971 GB, free: 2.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.197, allocations: 0.7716 MB / 0.6979 GB, free: 1.273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.1972, allocations: 22.28 kB / 0.6979 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.1972, allocations: 27.44 kB / 0.6979 GB, free: 1.227 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1972, allocations: 0 / 0.6979 GB, free: 1.227 MB / 494.1 MB Notification: Performance of Templates: time 0.005361/0.2026, allocations: 2.858 MB / 0.7007 GB, free: 14.41 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)