Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.829/2.829, allocations: 287.5 MB / 302.4 MB, free: 8.215 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.001288/0.001288, allocations: 180.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 0.6297 GB, free: 10.65 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.0009642/0.0009641, allocations: 94.75 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006516/0.0006521, allocations: 15.44 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2621, allocations: 115.3 MB / 0.9783 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003457/0.2656, allocations: 2.196 MB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.2678, allocations: 0.8858 MB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.2683, allocations: 11.94 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.2685, allocations: 43.58 kB / 0.9814 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.2687, allocations: 39.66 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.2693, allocations: 142.8 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004596/0.2698, allocations: 383.8 kB / 0.982 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.2701, allocations: 148.4 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2702, allocations: 79.47 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.2704, allocations: 103.3 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.2705, allocations: 8 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.281e-05/0.2705, allocations: 8 kB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.2706, allocations: 39.72 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.2706, allocations: 89.52 kB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.2711, allocations: 499 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2712, allocations: 0 / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2712, allocations: 0 / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2712, allocations: 3.938 kB / 0.9829 GB, free: 23.73 MB / 0.6198 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.001057/0.2723, allocations: 0.5882 MB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2723, allocations: 8.031 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.2724, allocations: 43.48 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.273, allocations: 382.2 kB / 0.9839 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.273, allocations: 24.56 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.2731, allocations: 31.98 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/0.2739, allocations: 329.3 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.274, allocations: 0 / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.274, allocations: 16 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.274, allocations: 8 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007324/0.2748, allocations: 242.1 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.2768, allocations: 1.174 MB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.2776, allocations: 250.8 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.278, allocations: 100.8 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.278, allocations: 4 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.278, allocations: 34.52 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.895e-06/0.2781, allocations: 0 / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.00132/0.2794, allocations: 326.9 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.2795, allocations: 81.11 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004598/0.2799, allocations: 337.6 kB / 0.9867 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.28, allocations: 29.7 kB / 0.9868 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.2801, allocations: 196.1 kB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.2802, allocations: 51.3 kB / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.2802, allocations: 3.938 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.2803, allocations: 346.8 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.2806, allocations: 83.97 kB / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.281, allocations: 123.3 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.2813, allocations: 98.36 kB / 0.9876 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2813, allocations: 0 / 0.9876 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007581/0.2821, allocations: 265.2 kB / 0.9879 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.997e-05/0.2822, allocations: 110.6 kB / 0.988 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.2822, allocations: 4 kB / 0.988 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.2822, allocations: 3.938 kB / 0.988 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.2826, allocations: 36.03 kB / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2826, allocations: 7.984 kB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.2828, allocations: 27.78 kB / 0.9881 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.2829, allocations: 4 kB / 0.9881 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.477e-06/0.2829, allocations: 5.094 kB / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004651/0.2834, allocations: 175.8 kB / 0.9882 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2834, allocations: 4.062 kB / 0.9882 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-06/0.2834, allocations: 7.953 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.2836, allocations: 31.92 kB / 0.9883 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2837, allocations: 4 kB / 0.9883 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.2838, allocations: 15.84 kB / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.2839, allocations: 12 kB / 0.9883 GB, free: 17.92 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002608/0.2841, allocations: 237.1 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.2842, allocations: 31.62 kB / 0.9886 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.736e-05/0.2843, allocations: 47.22 kB / 0.9886 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2843, allocations: 0 / 0.9886 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2844, allocations: 0 / 0.9886 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.2844, allocations: 0 / 0.9886 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.2849, allocations: 409.3 kB / 0.989 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-05/0.2849, allocations: 0 / 0.989 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.2853, allocations: 23.98 kB / 0.989 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.2853, allocations: 4 kB / 0.989 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.2853, allocations: 7.984 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.2853, allocations: 3.953 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2853, allocations: 4 kB / 0.989 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.2864, allocations: 458.8 kB / 0.9895 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.2865, allocations: 136.7 kB / 0.9896 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.2866, allocations: 4 kB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.2869, allocations: 8 kB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.2869, allocations: 19.94 kB / 0.9896 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.287, allocations: 0 / 0.9896 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000317/0.2873, allocations: 247.2 kB / 0.9899 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2873, allocations: 3.938 kB / 0.9899 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005213/0.2878, allocations: 87.59 kB / 0.99 GB, free: 16.12 MB / 0.6198 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 (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.0001326/0.288, allocations: 103.2 kB / 0.9901 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008911/0.2889, allocations: 299.8 kB / 0.9903 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2889, allocations: 0 / 0.9903 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.2892, allocations: 103.9 kB / 0.9904 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/0.2901, allocations: 75.33 kB / 0.9905 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.2916, allocations: 0.6522 MB / 0.9911 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2918, allocations: 0.7755 MB / 0.9919 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.292, allocations: 30.28 kB / 0.9919 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.318e-05/0.2921, allocations: 19.44 kB / 0.992 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.2922, allocations: 0 / 0.992 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.009453/0.3016, allocations: 2.865 MB / 0.9947 GB, free: 11.18 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)