Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008294/0.0008292, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004559/0.004559, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.234/1.234, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.606/1.606, allocations: 292.7 MB / 0.5502 GB, free: 14.52 MB / 462.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.0004829/0.0004829, allocations: 12.75 kB / 0.6743 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1993, allocations: 116.3 MB / 0.7879 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002897/0.2022, allocations: 2.285 MB / 0.7901 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.204, allocations: 0.9243 MB / 0.791 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.2043, allocations: 11.94 kB / 0.791 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.2045, allocations: 47.58 kB / 0.7911 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.2047, allocations: 47.64 kB / 0.7911 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.2053, allocations: 218.9 kB / 0.7913 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.2058, allocations: 415.6 kB / 0.7917 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.2061, allocations: 209.4 kB / 0.7919 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.2062, allocations: 95.38 kB / 0.792 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.2064, allocations: 99.19 kB / 0.7921 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.2064, allocations: 8 kB / 0.7921 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.387e-05/0.2064, allocations: 8 kB / 0.7921 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.2065, allocations: 43.72 kB / 0.7922 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.2066, allocations: 168.7 kB / 0.7923 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.207, allocations: 0.5488 MB / 0.7928 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2071, allocations: 0 / 0.7928 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2071, allocations: 0 / 0.7928 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.2071, allocations: 0 / 0.7928 GB, free: 6.496 MB / 0.6075 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.0007978/0.2079, allocations: 0.5883 MB / 0.7934 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2079, allocations: 11.97 kB / 0.7934 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.208, allocations: 40.47 kB / 0.7935 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.2084, allocations: 391.2 kB / 0.7938 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.2085, allocations: 24.94 kB / 0.7939 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.2085, allocations: 28.38 kB / 0.7939 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.2091, allocations: 337.7 kB / 0.7942 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2091, allocations: 0 / 0.7942 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.2092, allocations: 12 kB / 0.7942 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2092, allocations: 4 kB / 0.7942 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.2097, allocations: 250.1 kB / 0.7945 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.2111, allocations: 1.174 MB / 0.7956 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.2116, allocations: 242.8 kB / 0.7959 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.2118, allocations: 112.7 kB / 0.796 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.2118, allocations: 7.984 kB / 0.796 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2119, allocations: 34.56 kB / 0.796 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.2119, allocations: 0 / 0.796 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006565/0.2125, allocations: 309.2 kB / 0.7963 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.2126, allocations: 81.11 kB / 0.7964 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.2129, allocations: 345.6 kB / 0.7967 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.213, allocations: 25.7 kB / 0.7967 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.2131, allocations: 200.1 kB / 0.7969 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.2131, allocations: 47.27 kB / 0.797 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.2132, allocations: 37.64 kB / 0.797 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2133, allocations: 338.8 kB / 0.7973 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2135, allocations: 87.91 kB / 0.7974 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.2137, allocations: 131.3 kB / 0.7975 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.2141, allocations: 197.5 kB / 0.7977 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2141, allocations: 0 / 0.7977 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004968/0.2146, allocations: 269.2 kB / 0.798 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/0.2147, allocations: 110.6 kB / 0.7981 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2147, allocations: 0 / 0.7981 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2148, allocations: 7.938 kB / 0.7981 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.2149, allocations: 31.98 kB / 0.7981 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.215, allocations: 8 kB / 0.7981 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.2151, allocations: 35.67 kB / 0.7982 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.2151, allocations: 11.98 kB / 0.7982 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/0.2151, allocations: 4 kB / 0.7982 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003135/0.2155, allocations: 170.7 kB / 0.7983 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.2155, allocations: 0 / 0.7983 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.2155, allocations: 7.984 kB / 0.7983 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2156, allocations: 31.98 kB / 0.7984 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.2156, allocations: 4 kB / 0.7984 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2157, allocations: 27.69 kB / 0.7984 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.2157, allocations: 4 kB / 0.7984 GB, free: 0.5195 MB / 0.6075 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.000196/0.2159, allocations: 249.6 kB / 0.7986 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.216, allocations: 31.62 kB / 0.7987 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.024e-05/0.2161, allocations: 35.28 kB / 0.7987 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2161, allocations: 0 / 0.7987 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2161, allocations: 4 kB / 0.7987 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2161, allocations: 0 / 0.7987 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.2165, allocations: 417.2 kB / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2165, allocations: 0 / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.2167, allocations: 23.98 kB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2167, allocations: 4 kB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2167, allocations: 4 kB / 0.7991 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2167, allocations: 0 / 0.7991 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2167, allocations: 3.938 kB / 0.7991 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.2174, allocations: 466 kB / 0.7996 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.2175, allocations: 132.7 kB / 0.7997 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.2175, allocations: 8 kB / 0.7997 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2177, allocations: 11.98 kB / 0.7997 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.2178, allocations: 7.984 kB / 0.7997 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.2178, allocations: 8 kB / 0.7998 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002397/0.218, allocations: 235.2 kB / 0.8 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.218, allocations: 64 / 0.8 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003731/0.2184, allocations: 99.56 kB / 0.8001 GB, free: 14.72 MB / 0.6231 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.0001024/0.2185, allocations: 107.2 kB / 0.8002 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006086/0.2191, allocations: 291.9 kB / 0.8005 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2191, allocations: 7.938 kB / 0.8005 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.2193, allocations: 95.97 kB / 0.8006 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.2199, allocations: 81.5 kB / 0.8006 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.221, allocations: 0.6794 MB / 0.8013 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.2213, allocations: 0.7794 MB / 0.8021 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000128/0.2214, allocations: 34.2 kB / 0.8021 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.2215, allocations: 23.44 kB / 0.8021 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2215, allocations: 0 / 0.8021 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of Templates: time 0.006238/0.2278, allocations: 2.951 MB / 0.805 GB, free: 9.664 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) Environment - environmentSimulation: