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.00106/0.00106, allocations: 107.7 kB / 16.35 MB, free: 5.879 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.001056/0.001056, allocations: 191.4 kB / 17.28 MB, free: 5.516 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 4.504 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.689/1.689, allocations: 292.3 MB / 0.5496 GB, free: 12.74 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.001448/0.001448, allocations: 72.86 kB / 0.6729 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2246, allocations: 114.5 MB / 0.7848 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004696/0.2293, allocations: 2.635 MB / 0.7873 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.2312, allocations: 0.9515 MB / 0.7883 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.2315, allocations: 11.94 kB / 0.7883 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.2318, allocations: 63.39 kB / 0.7883 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.2321, allocations: 71.33 kB / 0.7884 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.2326, allocations: 234.4 kB / 0.7886 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005599/0.2332, allocations: 463.6 kB / 0.7891 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.2336, allocations: 221.1 kB / 0.7893 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.2338, allocations: 147.4 kB / 0.7894 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.234, allocations: 155.2 kB / 0.7896 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/0.2341, allocations: 48 kB / 0.7896 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.012e-05/0.2341, allocations: 52 kB / 0.7897 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.2342, allocations: 91.64 kB / 0.7898 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.2344, allocations: 191 kB / 0.7899 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.2349, allocations: 0.623 MB / 0.7905 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2349, allocations: 0 / 0.7905 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.235, allocations: 0 / 0.7905 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.235, allocations: 0 / 0.7905 GB, free: 6.82 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.001187/0.2362, allocations: 0.6584 MB / 0.7912 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2362, allocations: 12.03 kB / 0.7912 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.2363, allocations: 40.47 kB / 0.7912 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.2369, allocations: 383.3 kB / 0.7916 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.2369, allocations: 24.94 kB / 0.7916 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.237, allocations: 28.31 kB / 0.7917 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.2376, allocations: 329.7 kB / 0.792 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2376, allocations: 0 / 0.792 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.2376, allocations: 16 kB / 0.792 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.2376, allocations: 4 kB / 0.792 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.2381, allocations: 234.1 kB / 0.7922 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.2397, allocations: 1.159 MB / 0.7933 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.2402, allocations: 238.8 kB / 0.7936 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.2404, allocations: 96.77 kB / 0.7937 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.2405, allocations: 7.938 kB / 0.7937 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.2405, allocations: 38.56 kB / 0.7937 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.2405, allocations: 0 / 0.7937 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006565/0.2412, allocations: 289.2 kB / 0.794 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.2412, allocations: 81.11 kB / 0.7941 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.2416, allocations: 341.6 kB / 0.7944 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.2416, allocations: 29.7 kB / 0.7944 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.2418, allocations: 204 kB / 0.7946 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.2418, allocations: 51.27 kB / 0.7947 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/0.2419, allocations: 41.64 kB / 0.7947 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2421, allocations: 346.8 kB / 0.795 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.2423, allocations: 84.83 kB / 0.7951 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.2425, allocations: 129.7 kB / 0.7952 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.2429, allocations: 185.5 kB / 0.7954 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2429, allocations: 0 / 0.7954 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004711/0.2434, allocations: 257.1 kB / 0.7957 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2434, allocations: 4 kB / 0.7957 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2434, allocations: 0 / 0.7957 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2434, allocations: 4 kB / 0.7957 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.2436, allocations: 35.92 kB / 0.7957 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2436, allocations: 0 / 0.7957 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.2438, allocations: 39.77 kB / 0.7957 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2438, allocations: 8 kB / 0.7957 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002328/0.2441, allocations: 188.8 kB / 0.7959 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001581/0.2442, allocations: 107.3 kB / 0.796 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002589/0.2445, allocations: 165.5 kB / 0.7962 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.2445, allocations: 4.031 kB / 0.7962 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003651/0.2449, allocations: 225.1 kB / 0.7964 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.2449, allocations: 11.98 kB / 0.7964 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.2449, allocations: 0 / 0.7964 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.2449, allocations: 0 / 0.7964 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.245, allocations: 27.94 kB / 0.7964 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.2451, allocations: 0 / 0.7964 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2452, allocations: 19.92 kB / 0.7965 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.2452, allocations: 12 kB / 0.7965 GB, free: 468 kB / 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.0001097/0.2453, allocations: 188.3 kB / 0.7966 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.2454, allocations: 31.56 kB / 0.7967 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.704e-05/0.2455, allocations: 35.28 kB / 0.7967 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.2455, allocations: 7.984 kB / 0.7967 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2455, allocations: 0 / 0.7967 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2455, allocations: 11.86 kB / 0.7967 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.2459, allocations: 405.3 kB / 0.7971 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2459, allocations: 0 / 0.7971 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.2461, allocations: 31.98 kB / 0.7971 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2461, allocations: 0 / 0.7971 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.2461, allocations: 7.938 kB / 0.7972 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2462, allocations: 0 / 0.7972 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2462, allocations: 0 / 0.7972 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006678/0.2468, allocations: 442.9 kB / 0.7976 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.247, allocations: 132.6 kB / 0.7977 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.247, allocations: 4 kB / 0.7977 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.2472, allocations: 11.98 kB / 0.7977 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.2472, allocations: 15.92 kB / 0.7977 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2472, allocations: 4 kB / 0.7977 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002335/0.2475, allocations: 239.2 kB / 0.798 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2475, allocations: 0 / 0.798 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003981/0.2479, allocations: 87.59 kB / 0.798 GB, free: 14.74 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.0001117/0.248, allocations: 107.3 kB / 0.7982 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005791/0.2486, allocations: 286 kB / 0.7984 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2486, allocations: 0 / 0.7984 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.2488, allocations: 99.91 kB / 0.7985 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.2494, allocations: 99.66 kB / 0.7986 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.2505, allocations: 0.5552 MB / 0.7992 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2508, allocations: 0.7753 MB / 0.7999 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.2509, allocations: 38.2 kB / 0.7999 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.251, allocations: 19.44 kB / 0.8 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.251, allocations: 0 / 0.8 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.006746/0.2578, allocations: 3.16 MB / 0.8031 GB, free: 9.602 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)