Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.485/1.485, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 179.8 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.379/2.379, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009032/0.000903, allocations: 93.17 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 11.97 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2635, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002998/0.2666, allocations: 2.328 MB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.2684, allocations: 0.9435 MB / 0.8999 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.2689, allocations: 11.94 kB / 0.8999 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.2692, allocations: 47.58 kB / 0.9 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.2695, allocations: 55.59 kB / 0.9 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.2702, allocations: 221.8 kB / 0.9003 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.2707, allocations: 399.7 kB / 0.9006 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.271, allocations: 217.1 kB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.2712, allocations: 87.34 kB / 0.9009 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2714, allocations: 103.2 kB / 0.901 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.2714, allocations: 19.92 kB / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.109e-05/0.2715, allocations: 11.94 kB / 0.9011 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.2715, allocations: 35.78 kB / 0.9011 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.2716, allocations: 135 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.272, allocations: 498.7 kB / 0.9017 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.272, allocations: 4 kB / 0.9017 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.272, allocations: 0 / 0.9017 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.272, allocations: 0 / 0.9017 GB, free: 63.03 MB / 0.6042 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.0009543/0.273, allocations: 0.5767 MB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.273, allocations: 8.031 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.2731, allocations: 44.38 kB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.2736, allocations: 395.2 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.2737, allocations: 16.94 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.2737, allocations: 32.38 kB / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/0.2743, allocations: 337.7 kB / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2743, allocations: 0 / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.2743, allocations: 12 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.2743, allocations: 4 kB / 0.9031 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.2748, allocations: 246.2 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.2763, allocations: 1.19 MB / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.2768, allocations: 246.8 kB / 0.9047 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.277, allocations: 100.8 kB / 0.9048 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.277, allocations: 4 kB / 0.9048 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2771, allocations: 34.56 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.2771, allocations: 0 / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0006093/0.2777, allocations: 318.1 kB / 0.9051 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.2777, allocations: 89.05 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.278, allocations: 345.6 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.2781, allocations: 25.7 kB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.2782, allocations: 200.1 kB / 0.9058 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.2783, allocations: 55.19 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.2783, allocations: 25.7 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.2784, allocations: 342.8 kB / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2786, allocations: 91.97 kB / 0.9063 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.2788, allocations: 125.8 kB / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.2791, allocations: 197.5 kB / 0.9066 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2791, allocations: 0 / 0.9066 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004836/0.2796, allocations: 277.1 kB / 0.9068 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.868e-05/0.2797, allocations: 102.7 kB / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2797, allocations: 0 / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.2797, allocations: 12 kB / 0.9069 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.2799, allocations: 35.92 kB / 0.907 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2799, allocations: 0 / 0.907 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.2801, allocations: 27.83 kB / 0.907 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2801, allocations: 4 kB / 0.907 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.2801, allocations: 4 kB / 0.907 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000267/0.2804, allocations: 182.3 kB / 0.9072 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-06/0.2804, allocations: 0 / 0.9072 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-06/0.2804, allocations: 4 kB / 0.9072 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.2805, allocations: 27.94 kB / 0.9072 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2805, allocations: 4 kB / 0.9072 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2806, allocations: 19.83 kB / 0.9072 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.2807, allocations: 8 kB / 0.9072 GB, free: 57.07 MB / 0.6042 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.0001874/0.2809, allocations: 245.1 kB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.2809, allocations: 31.62 kB / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.656e-05/0.281, allocations: 35.28 kB / 0.9075 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.281, allocations: 3.984 kB / 0.9075 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.281, allocations: 0 / 0.9075 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.281, allocations: 0 / 0.9075 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.2814, allocations: 421.2 kB / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2814, allocations: 0 / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2816, allocations: 27.92 kB / 0.908 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.2816, allocations: 4 kB / 0.908 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2816, allocations: 8 kB / 0.908 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2816, allocations: 3.984 kB / 0.908 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2816, allocations: 0 / 0.908 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.2823, allocations: 456.9 kB / 0.9084 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.2824, allocations: 128.7 kB / 0.9085 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.2824, allocations: 19.88 kB / 0.9086 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.2825, allocations: 11.98 kB / 0.9086 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.2826, allocations: 16.05 kB / 0.9086 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.2826, allocations: 4 kB / 0.9086 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002226/0.2829, allocations: 239.2 kB / 0.9088 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2829, allocations: 0 / 0.9088 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003582/0.2832, allocations: 95.47 kB / 0.9089 GB, free: 55.25 MB / 0.6042 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.0001273/0.2834, allocations: 103.2 kB / 0.909 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005345/0.2839, allocations: 299.8 kB / 0.9093 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2839, allocations: 4 kB / 0.9093 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.2841, allocations: 105.7 kB / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/0.2847, allocations: 70.19 kB / 0.9095 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.2857, allocations: 0.7109 MB / 0.9102 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.286, allocations: 0.7755 MB / 0.9109 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.2861, allocations: 23.44 kB / 0.9109 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of SimCode: time 7.82e-07/0.2861, allocations: 0 / 0.9109 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.005228/0.2913, allocations: 3.958 MB / 0.9148 GB, free: 49.17 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)