Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.614/1.614, allocations: 288.4 MB / 304.3 MB, free: 8.051 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009958/0.0009959, allocations: 180.5 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 0.6317 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007395/0.0007395, allocations: 78.39 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003998, allocations: 16.39 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2314, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6794/0.9109, allocations: 144.1 MB / 1.121 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.9112, allocations: 83.83 kB / 1.122 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0141/0.9254, allocations: 7.028 MB / 1.128 GB, free: 31.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9254, allocations: 0 / 1.128 GB, free: 31.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.663e-05/0.9254, allocations: 3.875 kB / 1.128 GB, free: 31.61 MB / 0.698 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.0007251/0.9262, allocations: 0.6028 MB / 1.129 GB, free: 31.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.9262, allocations: 11.75 kB / 1.129 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.9263, allocations: 42.69 kB / 1.129 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.9267, allocations: 398.8 kB / 1.129 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.9268, allocations: 26.03 kB / 1.129 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.9268, allocations: 29.56 kB / 1.129 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.9273, allocations: 329.7 kB / 1.13 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9273, allocations: 192 / 1.13 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.9274, allocations: 17.28 kB / 1.13 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.9274, allocations: 11.77 kB / 1.13 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.9278, allocations: 249.4 kB / 1.13 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.929, allocations: 1.175 MB / 1.131 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.9294, allocations: 238.8 kB / 1.131 GB, free: 29.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.9296, allocations: 109.2 kB / 1.132 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.9296, allocations: 0 / 1.132 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.9296, allocations: 34.47 kB / 1.132 GB, free: 29.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.9296, allocations: 0 / 1.132 GB, free: 29.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0005829/0.9302, allocations: 314.1 kB / 1.132 GB, free: 29.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.9303, allocations: 84.89 kB / 1.132 GB, free: 29.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.9306, allocations: 332.4 kB / 1.132 GB, free: 29.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.9306, allocations: 33.02 kB / 1.132 GB, free: 29.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.9308, allocations: 202.1 kB / 1.132 GB, free: 29.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.9308, allocations: 53.8 kB / 1.133 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.9308, allocations: 3.969 kB / 1.133 GB, free: 29.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9309, allocations: 341.6 kB / 1.133 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.9311, allocations: 88.77 kB / 1.133 GB, free: 28.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.9313, allocations: 121.1 kB / 1.133 GB, free: 28.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.9316, allocations: 197.6 kB / 1.133 GB, free: 28.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9316, allocations: 3.844 kB / 1.133 GB, free: 28.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004031/0.932, allocations: 264.5 kB / 1.133 GB, free: 28.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/0.9321, allocations: 105.7 kB / 1.134 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.9321, allocations: 3.984 kB / 1.134 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.9321, allocations: 3.844 kB / 1.134 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.9323, allocations: 37.86 kB / 1.134 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.9323, allocations: 8 kB / 1.134 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.9324, allocations: 30.52 kB / 1.134 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.9325, allocations: 3.781 kB / 1.134 GB, free: 28.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-06/0.9325, allocations: 7.844 kB / 1.134 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002567/0.9327, allocations: 175.9 kB / 1.134 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.9328, allocations: 0 / 1.134 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-06/0.9328, allocations: 4.062 kB / 1.134 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.9329, allocations: 26.98 kB / 1.134 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.9329, allocations: 3.938 kB / 1.134 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/0.933, allocations: 23.52 kB / 1.134 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.933, allocations: 7.812 kB / 1.134 GB, free: 28.6 MB / 0.698 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 (actSet.y,actAct.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.9332, allocations: 241.4 kB / 1.134 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.9332, allocations: 31 kB / 1.134 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.9333, allocations: 36.03 kB / 1.134 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.9333, allocations: 7.75 kB / 1.134 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9333, allocations: 0 / 1.134 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.9333, allocations: 0 / 1.134 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.9337, allocations: 413.8 kB / 1.135 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9337, allocations: 0 / 1.135 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.9338, allocations: 31.08 kB / 1.135 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.9339, allocations: 0 / 1.135 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.9339, allocations: 7.188 kB / 1.135 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9339, allocations: 0 / 1.135 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9339, allocations: 7.953 kB / 1.135 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/0.9345, allocations: 458.5 kB / 1.135 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.9346, allocations: 133.3 kB / 1.135 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.9346, allocations: 3.562 kB / 1.135 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.9348, allocations: 11.83 kB / 1.135 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.9348, allocations: 15.55 kB / 1.135 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.9348, allocations: 3.844 kB / 1.135 GB, free: 27.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001964/0.9351, allocations: 236.3 kB / 1.135 GB, free: 27.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9351, allocations: 7.75 kB / 1.135 GB, free: 27.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003517/0.9354, allocations: 91.39 kB / 1.136 GB, free: 27.65 MB / 0.698 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 (actSet.y,actAct.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.9355, allocations: 102.2 kB / 1.136 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000494/0.936, allocations: 299.1 kB / 1.136 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9361, allocations: 0 / 1.136 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.9362, allocations: 101.6 kB / 1.136 GB, free: 27.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.9368, allocations: 85.89 kB / 1.136 GB, free: 27.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.9377, allocations: 0.6478 MB / 1.137 GB, free: 27.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.938, allocations: 0.7812 MB / 1.138 GB, free: 26.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.9381, allocations: 25.66 kB / 1.138 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.9382, allocations: 23 kB / 1.138 GB, free: 26.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9382, allocations: 0 / 1.138 GB, free: 26.3 MB / 0.698 GB Notification: Performance of Templates: time 0.005172/0.9434, allocations: 2.939 MB / 1.14 GB, free: 24.88 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)