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.001452/0.00146, allocations: 103.8 kB / 15.99 MB, free: 6.355 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.001666/0.001666, allocations: 196.2 kB / 16.91 MB, free: 6.188 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.467/1.467, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.647/1.647, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.00139/0.00139, allocations: 62.23 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2562, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004756/0.261, allocations: 2.666 MB / 0.7861 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002007/0.263, allocations: 0.9281 MB / 0.787 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.2636, allocations: 19.94 kB / 0.787 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.264, allocations: 43.59 kB / 0.7871 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.2643, allocations: 47.61 kB / 0.7871 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.265, allocations: 219.3 kB / 0.7873 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000652/0.2657, allocations: 459.6 kB / 0.7878 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004476/0.2661, allocations: 233.4 kB / 0.788 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.2664, allocations: 147.3 kB / 0.7881 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.2666, allocations: 143.2 kB / 0.7883 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.2666, allocations: 48 kB / 0.7883 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.006e-05/0.2667, allocations: 52 kB / 0.7884 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.564e-05/0.2668, allocations: 91.7 kB / 0.7885 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.267, allocations: 194.9 kB / 0.7886 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.2675, allocations: 0.5106 MB / 0.7891 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2676, allocations: 0 / 0.7891 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2676, allocations: 4 kB / 0.7891 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.2676, allocations: 3.984 kB / 0.7891 GB, free: 8.109 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.0009855/0.2686, allocations: 0.6428 MB / 0.7898 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.2687, allocations: 12.02 kB / 0.7898 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.042e-05/0.2687, allocations: 44.47 kB / 0.7898 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.2692, allocations: 399.2 kB / 0.7902 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.2692, allocations: 20.94 kB / 0.7902 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.2693, allocations: 24.38 kB / 0.7903 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.2699, allocations: 325.7 kB / 0.7906 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2699, allocations: 0 / 0.7906 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.2699, allocations: 8 kB / 0.7906 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2699, allocations: 12 kB / 0.7906 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.2704, allocations: 238.1 kB / 0.7908 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.2719, allocations: 1.174 MB / 0.792 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.2724, allocations: 226.8 kB / 0.7922 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.2726, allocations: 100.8 kB / 0.7923 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.2727, allocations: 7.938 kB / 0.7923 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2727, allocations: 30.56 kB / 0.7923 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.2727, allocations: 0 / 0.7923 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.000665/0.2734, allocations: 297.2 kB / 0.7926 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.2734, allocations: 85.05 kB / 0.7927 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.2738, allocations: 345.6 kB / 0.793 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.2738, allocations: 29.7 kB / 0.793 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.274, allocations: 200 kB / 0.7932 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.274, allocations: 47.27 kB / 0.7933 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/0.2741, allocations: 41.7 kB / 0.7933 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2743, allocations: 346.8 kB / 0.7936 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.2745, allocations: 84.83 kB / 0.7937 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.2747, allocations: 119.3 kB / 0.7938 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.2751, allocations: 198.5 kB / 0.794 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2751, allocations: 0 / 0.794 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004654/0.2755, allocations: 251.6 kB / 0.7943 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2756, allocations: 8 kB / 0.7943 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2756, allocations: 0 / 0.7943 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2756, allocations: 0 / 0.7943 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.2758, allocations: 27.98 kB / 0.7943 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2758, allocations: 12.05 kB / 0.7943 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.2759, allocations: 27.72 kB / 0.7943 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.276, allocations: 4 kB / 0.7943 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002512/0.2762, allocations: 200.8 kB / 0.7945 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001597/0.2764, allocations: 109.8 kB / 0.7946 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002786/0.2767, allocations: 165.4 kB / 0.7948 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.2767, allocations: 0 / 0.7948 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003571/0.2771, allocations: 229.1 kB / 0.795 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.2771, allocations: 4 kB / 0.795 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.2771, allocations: 0 / 0.795 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/0.2771, allocations: 7.984 kB / 0.795 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2772, allocations: 27.92 kB / 0.795 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.2772, allocations: 8.062 kB / 0.7951 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2773, allocations: 11.94 kB / 0.7951 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.2774, allocations: 7.938 kB / 0.7951 GB, free: 1.742 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.0001262/0.2775, allocations: 192.2 kB / 0.7953 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.2775, allocations: 31.62 kB / 0.7953 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.719e-05/0.2776, allocations: 35.27 kB / 0.7953 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2776, allocations: 0 / 0.7953 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2777, allocations: 0 / 0.7953 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2777, allocations: 11.88 kB / 0.7953 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.2781, allocations: 413.3 kB / 0.7957 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2781, allocations: 3.938 kB / 0.7957 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.2783, allocations: 23.98 kB / 0.7957 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2783, allocations: 0 / 0.7957 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.2783, allocations: 8 kB / 0.7958 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2783, allocations: 0 / 0.7958 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2783, allocations: 0 / 0.7958 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.279, allocations: 445.6 kB / 0.7962 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.2791, allocations: 132.7 kB / 0.7963 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.2792, allocations: 3.984 kB / 0.7963 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.2793, allocations: 12 kB / 0.7963 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.2794, allocations: 15.92 kB / 0.7963 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2794, allocations: 4 kB / 0.7963 GB, free: 352 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002321/0.2797, allocations: 243.2 kB / 0.7966 GB, free: 112 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2797, allocations: 4.062 kB / 0.7966 GB, free: 108 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003971/0.2801, allocations: 91.59 kB / 0.7967 GB, free: 16 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.0001331/0.2802, allocations: 103.2 kB / 0.7968 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006135/0.2808, allocations: 291.7 kB / 0.797 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2808, allocations: 256 / 0.797 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.281, allocations: 99.91 kB / 0.7971 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.2817, allocations: 80.08 kB / 0.7972 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.283, allocations: 0.712 MB / 0.7979 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.2835, allocations: 0.7792 MB / 0.7987 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.2836, allocations: 19.44 kB / 0.7987 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2836, allocations: 0 / 0.7987 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.006366/0.29, allocations: 4.014 MB / 0.8026 GB, free: 9.883 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)