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.001473/0.001473, allocations: 102.2 kB / 16.27 MB, free: 6 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.001461/0.001461, allocations: 191 kB / 17.2 MB, free: 5.609 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002399/0.002399, allocations: 299.3 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.184/1.184, allocations: 178.6 MB / 0.5079 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 99.83 kB / 0.6071 GB, free: 9.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1771, allocations: 89.13 MB / 0.6941 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00414/0.1813, allocations: 2.619 MB / 0.6967 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1829, allocations: 0.9079 MB / 0.6976 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1831, allocations: 11.94 kB / 0.6976 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1833, allocations: 59.39 kB / 0.6977 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.1834, allocations: 67.39 kB / 0.6977 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.1839, allocations: 242.8 kB / 0.698 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.1844, allocations: 451.7 kB / 0.6984 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.1847, allocations: 221.4 kB / 0.6986 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1849, allocations: 143.4 kB / 0.6987 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1851, allocations: 151.2 kB / 0.6989 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.172e-05/0.1851, allocations: 48 kB / 0.6989 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.1852, allocations: 55.94 kB / 0.699 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.1853, allocations: 79.78 kB / 0.6991 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.1854, allocations: 198.9 kB / 0.6992 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.186, allocations: 0.5997 MB / 0.6998 GB, free: 10.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.186, allocations: 0 / 0.6998 GB, free: 10.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.186, allocations: 0 / 0.6998 GB, free: 10.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.186, allocations: 0 / 0.6998 GB, free: 10.25 MB / 0.545 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.0009175/0.187, allocations: 0.643 MB / 0.7005 GB, free: 9.555 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.187, allocations: 11.97 kB / 0.7005 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/0.1871, allocations: 40.47 kB / 0.7005 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.1875, allocations: 379.3 kB / 0.7009 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.1876, allocations: 20.94 kB / 0.7009 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.1876, allocations: 36.36 kB / 0.7009 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.1882, allocations: 329.7 kB / 0.7012 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1882, allocations: 0 / 0.7012 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.1882, allocations: 16 kB / 0.7013 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.1883, allocations: 4 kB / 0.7013 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.1887, allocations: 242 kB / 0.7015 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.1903, allocations: 1.163 MB / 0.7026 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.1908, allocations: 238.8 kB / 0.7029 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.191, allocations: 96.77 kB / 0.7029 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.191, allocations: 8 kB / 0.703 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.191, allocations: 38.44 kB / 0.703 GB, free: 6.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.163e-06/0.191, allocations: 0 / 0.703 GB, free: 6.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0006558/0.1917, allocations: 295.9 kB / 0.7033 GB, free: 6.535 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.1918, allocations: 81.11 kB / 0.7033 GB, free: 6.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.1921, allocations: 336.4 kB / 0.7037 GB, free: 6.094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1922, allocations: 29.7 kB / 0.7037 GB, free: 6.059 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1923, allocations: 196 kB / 0.7039 GB, free: 5.863 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.1924, allocations: 47.27 kB / 0.7039 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.1925, allocations: 45.66 kB / 0.704 GB, free: 5.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1927, allocations: 342.8 kB / 0.7043 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.1929, allocations: 88.81 kB / 0.7044 GB, free: 5.332 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.1931, allocations: 119.3 kB / 0.7045 GB, free: 5.203 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.1934, allocations: 184.7 kB / 0.7047 GB, free: 5.016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1935, allocations: 4.031 kB / 0.7047 GB, free: 5.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004579/0.1939, allocations: 253.1 kB / 0.7049 GB, free: 4.758 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1939, allocations: 10.03 kB / 0.7049 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.194, allocations: 0 / 0.7049 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.194, allocations: 0 / 0.7049 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.1942, allocations: 39.92 kB / 0.705 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.1942, allocations: 0 / 0.705 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1943, allocations: 35.67 kB / 0.705 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1943, allocations: 8 kB / 0.705 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002401/0.1946, allocations: 195.4 kB / 0.7052 GB, free: 4.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001547/0.1947, allocations: 102 kB / 0.7053 GB, free: 4.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002752/0.195, allocations: 166.5 kB / 0.7055 GB, free: 4.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.195, allocations: 0 / 0.7055 GB, free: 4.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003646/0.1954, allocations: 227.4 kB / 0.7057 GB, free: 3.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.1954, allocations: 4 kB / 0.7057 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-06/0.1954, allocations: 0 / 0.7057 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-06/0.1954, allocations: 4 kB / 0.7057 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1956, allocations: 27.92 kB / 0.7057 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1956, allocations: 4 kB / 0.7057 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1957, allocations: 15.91 kB / 0.7057 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1957, allocations: 15.92 kB / 0.7057 GB, free: 3.898 MB / 0.545 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.000131/0.1958, allocations: 188.3 kB / 0.7059 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.1959, allocations: 31.62 kB / 0.7059 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.196, allocations: 35.22 kB / 0.706 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.196, allocations: 3.938 kB / 0.706 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.196, allocations: 0 / 0.706 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.196, allocations: 7.875 kB / 0.706 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.1965, allocations: 409.3 kB / 0.7064 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1965, allocations: 4 kB / 0.7064 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.1966, allocations: 31.97 kB / 0.7064 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1967, allocations: 0 / 0.7064 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.1967, allocations: 4 kB / 0.7064 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1967, allocations: 8 kB / 0.7064 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1967, allocations: 0 / 0.7064 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006967/0.1974, allocations: 442.9 kB / 0.7068 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.1975, allocations: 132.7 kB / 0.707 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.1976, allocations: 4 kB / 0.707 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1977, allocations: 8 kB / 0.707 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1978, allocations: 11.92 kB / 0.707 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1978, allocations: 7.984 kB / 0.707 GB, free: 2.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002392/0.198, allocations: 235.1 kB / 0.7072 GB, free: 2.273 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.198, allocations: 0 / 0.7072 GB, free: 2.273 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003809/0.1984, allocations: 91.59 kB / 0.7073 GB, free: 2.184 MB / 0.545 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.0001083/0.1985, allocations: 99.31 kB / 0.7074 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006044/0.1992, allocations: 293.6 kB / 0.7077 GB, free: 1.793 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1992, allocations: 3.938 kB / 0.7077 GB, free: 1.789 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.1994, allocations: 95.17 kB / 0.7078 GB, free: 1.699 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.1999, allocations: 89.38 kB / 0.7079 GB, free: 1.617 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.201, allocations: 0.5839 MB / 0.7084 GB, free: 1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.2014, allocations: 0.7792 MB / 0.7092 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.2015, allocations: 23.44 kB / 0.7092 GB, free: 172 kB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.2015, allocations: 0 / 0.7092 GB, free: 172 kB / 0.545 GB Notification: Performance of Templates: time 0.2571/0.4586, allocations: 3.961 MB / 0.7131 GB, free: 49.02 MB / 0.545 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)