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.708/1.708, allocations: 288.3 MB / 303.2 MB, free: 8.332 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.001182/0.001181, allocations: 183.2 kB / 371.8 MB, free: 10.28 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.838/1.838, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008908/0.0008909, allocations: 104 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005869/0.0005869, allocations: 14.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2968, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002692/0.2996, allocations: 2.193 MB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.3009, allocations: 0.8817 MB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.3011, allocations: 11.94 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.3012, allocations: 27.72 kB / 0.9825 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.3016, allocations: 79.69 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.3019, allocations: 149.9 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.3022, allocations: 252.2 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.3025, allocations: 144.4 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.972e-05/0.3026, allocations: 87.45 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3027, allocations: 95.36 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.3027, allocations: 8 kB / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.541e-05/0.3028, allocations: 8 kB / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.3028, allocations: 39.72 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.3029, allocations: 89.52 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.3032, allocations: 0.4912 MB / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3032, allocations: 0 / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3032, allocations: 0 / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3032, allocations: 4 kB / 0.9839 GB, free: 23.12 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.0008663/0.3041, allocations: 0.5804 MB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3042, allocations: 8.031 kB / 0.9844 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.014e-05/0.3042, allocations: 47.48 kB / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.3047, allocations: 382.2 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.3048, allocations: 20.56 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.3048, allocations: 24 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.3054, allocations: 329.4 kB / 0.9852 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3054, allocations: 7.938 kB / 0.9852 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.3055, allocations: 8 kB / 0.9852 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.3055, allocations: 8 kB / 0.9852 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.3059, allocations: 242.1 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.3073, allocations: 1.19 MB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.3079, allocations: 246.8 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.3079, allocations: 4 kB / 0.9869 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.3079, allocations: 38.56 kB / 0.9869 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.3079, allocations: 0 / 0.9869 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0005984/0.3085, allocations: 317.4 kB / 0.9872 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.3086, allocations: 81.11 kB / 0.9873 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.3089, allocations: 345.5 kB / 0.9876 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3089, allocations: 29.7 kB / 0.9876 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.309, allocations: 196.1 kB / 0.9878 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.309, allocations: 51.28 kB / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.3091, allocations: 8 kB / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.3091, allocations: 338.8 kB / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3093, allocations: 83.97 kB / 0.9883 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.3095, allocations: 131.3 kB / 0.9884 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3096, allocations: 94.05 kB / 0.9885 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3097, allocations: 0 / 0.9885 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003857/0.31, allocations: 265.2 kB / 0.9887 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.238e-05/0.3101, allocations: 271 kB / 0.989 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3101, allocations: 0 / 0.989 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3102, allocations: 7.984 kB / 0.989 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.3103, allocations: 31.92 kB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3103, allocations: 8 kB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.3105, allocations: 27.8 kB / 0.9891 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3105, allocations: 7.984 kB / 0.9891 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.3105, allocations: 9.234 kB / 0.9891 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002558/0.3107, allocations: 175.8 kB / 0.9893 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/0.3108, allocations: 0 / 0.9893 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-06/0.3108, allocations: 4.062 kB / 0.9893 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3109, allocations: 31.92 kB / 0.9893 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-06/0.3109, allocations: 0 / 0.9893 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.311, allocations: 19.78 kB / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.311, allocations: 8 kB / 0.9893 GB, free: 17.26 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.0001452/0.3112, allocations: 237.1 kB / 0.9895 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.3112, allocations: 35.56 kB / 0.9896 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.3113, allocations: 43.16 kB / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3113, allocations: 8 kB / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3113, allocations: 0 / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3113, allocations: 3.938 kB / 0.9896 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.3116, allocations: 405.3 kB / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3117, allocations: 0 / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.3118, allocations: 31.98 kB / 0.99 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3118, allocations: 3.953 kB / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3119, allocations: 7.984 kB / 0.9901 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3119, allocations: 0 / 0.9901 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3119, allocations: 0 / 0.9901 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.3124, allocations: 461 kB / 0.9905 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.3125, allocations: 132.7 kB / 0.9906 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.3126, allocations: 11.95 kB / 0.9906 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3127, allocations: 8 kB / 0.9906 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.3128, allocations: 11.98 kB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3128, allocations: 8 kB / 0.9907 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001801/0.313, allocations: 243.2 kB / 0.9909 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.313, allocations: 4.062 kB / 0.9909 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003422/0.3133, allocations: 91.59 kB / 0.991 GB, free: 15.45 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.0001033/0.3134, allocations: 95.25 kB / 0.9911 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005399/0.314, allocations: 305.2 kB / 0.9914 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.314, allocations: 0 / 0.9914 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.3142, allocations: 100.6 kB / 0.9915 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.3147, allocations: 73.23 kB / 0.9915 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/0.3156, allocations: 0.6484 MB / 0.9922 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.3159, allocations: 0.7911 MB / 0.9929 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.316, allocations: 22.3 kB / 0.993 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.3161, allocations: 23.42 kB / 0.993 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.3161, allocations: 3.938 kB / 0.993 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.005484/0.3216, allocations: 2.869 MB / 0.9958 GB, free: 10.5 MB / 0.6198 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)