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.0009581/0.0009581, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.000998/0.0009981, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.249/1.249, allocations: 205.1 MB / 222 MB, free: 5.004 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.57/1.57, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001312/0.001312, allocations: 60.67 kB / 0.6708 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2354, allocations: 114.5 MB / 0.7827 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004261/0.2397, allocations: 2.66 MB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2412, allocations: 0.9398 MB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.2414, allocations: 15.94 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.2416, allocations: 43.64 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.2417, allocations: 47.59 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.2421, allocations: 222.8 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.2425, allocations: 407.6 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.2428, allocations: 225.4 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2429, allocations: 103.4 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.2431, allocations: 127.1 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.2431, allocations: 16 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.268e-05/0.2432, allocations: 16 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.2432, allocations: 59.7 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.2433, allocations: 155 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.2437, allocations: 0.5802 MB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2437, allocations: 0 / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2438, allocations: 4 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2438, allocations: 0 / 0.7881 GB, free: 8.336 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.0008411/0.2446, allocations: 0.6467 MB / 0.7888 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2447, allocations: 15.97 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.2447, allocations: 44.47 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.2452, allocations: 391.2 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.2452, allocations: 20.94 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.2453, allocations: 28.38 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.2458, allocations: 325.7 kB / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2458, allocations: 0 / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.2459, allocations: 16 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2459, allocations: 8 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.2463, allocations: 238.1 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.2477, allocations: 1.166 MB / 0.7909 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.2482, allocations: 226.8 kB / 0.7911 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.2484, allocations: 108.7 kB / 0.7913 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.2484, allocations: 3.984 kB / 0.7913 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.2485, allocations: 34.56 kB / 0.7913 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.2485, allocations: 4 kB / 0.7913 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006525/0.2491, allocations: 293.2 kB / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.2492, allocations: 81.11 kB / 0.7916 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.2495, allocations: 341.6 kB / 0.792 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.2496, allocations: 29.7 kB / 0.792 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.2497, allocations: 204 kB / 0.7922 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.2498, allocations: 51.25 kB / 0.7922 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.2499, allocations: 41.7 kB / 0.7923 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.25, allocations: 342.8 kB / 0.7926 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.2502, allocations: 88.83 kB / 0.7927 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.2504, allocations: 119.3 kB / 0.7928 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.2507, allocations: 193.3 kB / 0.793 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2508, allocations: 0 / 0.793 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000435/0.2512, allocations: 249.1 kB / 0.7932 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2512, allocations: 8 kB / 0.7932 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2512, allocations: 0 / 0.7932 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2513, allocations: 0 / 0.7932 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.2514, allocations: 47.97 kB / 0.7933 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2515, allocations: 0 / 0.7933 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.2516, allocations: 27.62 kB / 0.7933 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2516, allocations: 4 kB / 0.7933 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000229/0.2518, allocations: 200.1 kB / 0.7935 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001427/0.252, allocations: 106.2 kB / 0.7936 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002601/0.2523, allocations: 168.9 kB / 0.7938 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.2523, allocations: 0 / 0.7938 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003488/0.2526, allocations: 233.1 kB / 0.794 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.2526, allocations: 4 kB / 0.794 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/0.2527, allocations: 3.938 kB / 0.794 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-06/0.2527, allocations: 4 kB / 0.794 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2528, allocations: 27.92 kB / 0.794 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.2528, allocations: 8.062 kB / 0.794 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2529, allocations: 11.94 kB / 0.794 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.2529, allocations: 7.938 kB / 0.7941 GB, free: 1.957 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.0001055/0.253, allocations: 196.1 kB / 0.7942 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.2531, allocations: 31.62 kB / 0.7943 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.502e-05/0.2532, allocations: 39.27 kB / 0.7943 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2532, allocations: 0 / 0.7943 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2532, allocations: 4 kB / 0.7943 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2532, allocations: 7.938 kB / 0.7943 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.2536, allocations: 405.3 kB / 0.7947 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2536, allocations: 0 / 0.7947 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.2538, allocations: 27.92 kB / 0.7947 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2538, allocations: 0 / 0.7947 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.2538, allocations: 8 kB / 0.7947 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2538, allocations: 0 / 0.7947 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2538, allocations: 0 / 0.7947 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/0.2544, allocations: 442 kB / 0.7952 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2546, allocations: 136.7 kB / 0.7953 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.2546, allocations: 7.938 kB / 0.7953 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2548, allocations: 4 kB / 0.7953 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.2548, allocations: 15.92 kB / 0.7953 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2548, allocations: 8 kB / 0.7953 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002205/0.2551, allocations: 239.2 kB / 0.7956 GB, free: 336 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2551, allocations: 4 kB / 0.7956 GB, free: 332 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003966/0.2555, allocations: 91.59 kB / 0.7956 GB, free: 240 kB / 0.6075 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.000144/0.2556, allocations: 99.25 kB / 0.7957 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000621/0.2563, allocations: 286.5 kB / 0.796 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.2563, allocations: 4.25 kB / 0.796 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.2565, allocations: 95.91 kB / 0.7961 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.2572, allocations: 80.2 kB / 0.7962 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.2584, allocations: 0.6777 MB / 0.7969 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.2587, allocations: 0.7794 MB / 0.7976 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000122/0.2589, allocations: 22.28 kB / 0.7976 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.2589, allocations: 27.44 kB / 0.7977 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.2589, allocations: 0 / 0.7977 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.006027/0.265, allocations: 2.984 MB / 0.8006 GB, free: 11.17 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)