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.423/1.423, allocations: 252 MB / 268 MB, free: 10.87 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.001106/0.001106, allocations: 176.8 kB / 327.6 MB, free: 2.117 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.344/2.344, allocations: 205.4 MB / 0.5786 GB, free: 20.48 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.001276/0.001276, allocations: 93.17 kB / 0.6832 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 11.36 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2566, allocations: 106.3 MB / 0.9015 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003025/0.2597, allocations: 2.277 MB / 0.9037 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.2616, allocations: 0.9396 MB / 0.9046 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.2621, allocations: 11.94 kB / 0.9046 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.2623, allocations: 43.66 kB / 0.9046 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.2625, allocations: 47.58 kB / 0.9047 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.263, allocations: 224.2 kB / 0.9049 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.2634, allocations: 411.6 kB / 0.9053 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.2637, allocations: 209.2 kB / 0.9055 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.403e-05/0.2638, allocations: 95.33 kB / 0.9056 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.2639, allocations: 95.19 kB / 0.9057 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.2639, allocations: 11.98 kB / 0.9057 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.755e-05/0.264, allocations: 8 kB / 0.9057 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.264, allocations: 43.78 kB / 0.9057 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.2641, allocations: 160.7 kB / 0.9059 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.2645, allocations: 499 kB / 0.9064 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2645, allocations: 0 / 0.9064 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2645, allocations: 4 kB / 0.9064 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2645, allocations: 3.938 kB / 0.9064 GB, free: 58.8 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.0007533/0.2653, allocations: 0.5768 MB / 0.9069 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2653, allocations: 12.03 kB / 0.9069 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.2654, allocations: 48.31 kB / 0.907 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.2658, allocations: 391.2 kB / 0.9074 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.2658, allocations: 24.94 kB / 0.9074 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.2658, allocations: 32.3 kB / 0.9074 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/0.2663, allocations: 337.7 kB / 0.9077 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2664, allocations: 4 kB / 0.9077 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.2664, allocations: 8 kB / 0.9078 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.2664, allocations: 11.98 kB / 0.9078 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.2668, allocations: 250.1 kB / 0.908 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2681, allocations: 1.174 MB / 0.9092 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.2686, allocations: 242.8 kB / 0.9094 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.2688, allocations: 108.8 kB / 0.9095 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.2688, allocations: 0 / 0.9095 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2688, allocations: 38.55 kB / 0.9095 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.2688, allocations: 0 / 0.9095 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0006051/0.2694, allocations: 318.8 kB / 0.9098 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.2695, allocations: 85.09 kB / 0.9099 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.2698, allocations: 333.7 kB / 0.9102 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2698, allocations: 29.7 kB / 0.9103 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.2699, allocations: 204 kB / 0.9105 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.27, allocations: 59.19 kB / 0.9105 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.27, allocations: 0 / 0.9105 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.2701, allocations: 342.8 kB / 0.9108 GB, free: 54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.2702, allocations: 83.97 kB / 0.9109 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.2704, allocations: 129.2 kB / 0.911 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.2707, allocations: 198.5 kB / 0.9112 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2707, allocations: 0 / 0.9112 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003995/0.2712, allocations: 273.1 kB / 0.9115 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.2712, allocations: 109 kB / 0.9116 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2712, allocations: 4 kB / 0.9116 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2712, allocations: 3.938 kB / 0.9116 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.2714, allocations: 39.98 kB / 0.9116 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2714, allocations: 0 / 0.9116 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2716, allocations: 27.83 kB / 0.9117 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.2716, allocations: 4 kB / 0.9117 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.2716, allocations: 4 kB / 0.9117 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002605/0.2719, allocations: 175.8 kB / 0.9118 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.2719, allocations: 4.062 kB / 0.9118 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.2719, allocations: 4 kB / 0.9118 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.272, allocations: 31.92 kB / 0.9119 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.272, allocations: 4 kB / 0.9119 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.2721, allocations: 19.78 kB / 0.9119 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2721, allocations: 11.94 kB / 0.9119 GB, free: 52.86 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.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.2723, allocations: 241 kB / 0.9121 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.2723, allocations: 31.62 kB / 0.9122 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.654e-05/0.2724, allocations: 39.28 kB / 0.9122 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2724, allocations: 0 / 0.9122 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2724, allocations: 0 / 0.9122 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2724, allocations: 4 kB / 0.9122 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.2728, allocations: 409.2 kB / 0.9126 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2728, allocations: 0 / 0.9126 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.273, allocations: 31.92 kB / 0.9126 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.273, allocations: 3.984 kB / 0.9126 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.273, allocations: 8 kB / 0.9126 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.273, allocations: 3.984 kB / 0.9126 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.273, allocations: 4 kB / 0.9127 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.2736, allocations: 458.9 kB / 0.9131 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.2737, allocations: 132.7 kB / 0.9132 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.2737, allocations: 8 kB / 0.9132 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.2739, allocations: 11.98 kB / 0.9132 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.2739, allocations: 11.98 kB / 0.9132 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.274, allocations: 4 kB / 0.9133 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002047/0.2742, allocations: 243.2 kB / 0.9135 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2742, allocations: 0 / 0.9135 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003421/0.2745, allocations: 91.53 kB / 0.9136 GB, free: 51.06 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.0001093/0.2746, allocations: 103.2 kB / 0.9137 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.2752, allocations: 309.3 kB / 0.914 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2752, allocations: 0 / 0.914 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.2753, allocations: 103.9 kB / 0.9141 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.2759, allocations: 72.56 kB / 0.9141 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.277, allocations: 0.7203 MB / 0.9148 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.2772, allocations: 0.7833 MB / 0.9156 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.2772, allocations: 19.44 kB / 0.9156 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2773, allocations: 0 / 0.9156 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.005148/0.2824, allocations: 3.956 MB / 0.9195 GB, free: 44.95 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)