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.001452, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001791/0.001791, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.801/1.801, allocations: 292.5 MB / 0.5497 GB, free: 14.6 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.0006085/0.0006086, allocations: 15.86 kB / 0.6735 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.276, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003271/0.2793, allocations: 2.197 MB / 0.7892 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.2812, allocations: 0.8895 MB / 0.7901 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.2816, allocations: 11.94 kB / 0.7901 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.2818, allocations: 23.72 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.2823, allocations: 75.75 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.2828, allocations: 155.6 kB / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.2834, allocations: 252.2 kB / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.2837, allocations: 144.4 kB / 0.7908 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.2839, allocations: 91.44 kB / 0.7908 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.2841, allocations: 91.38 kB / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.2841, allocations: 8 kB / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.001e-05/0.2842, allocations: 8 kB / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.2842, allocations: 43.77 kB / 0.791 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/0.2843, allocations: 93.45 kB / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.2848, allocations: 495 kB / 0.7915 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2848, allocations: 0 / 0.7915 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2848, allocations: 0 / 0.7915 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.2848, allocations: 0 / 0.7915 GB, free: 7.379 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.001042/0.2859, allocations: 0.5921 MB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2859, allocations: 8.031 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.2861, allocations: 47.48 kB / 0.7922 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.2866, allocations: 378.2 kB / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.2867, allocations: 24.5 kB / 0.7926 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.2867, allocations: 31.94 kB / 0.7926 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.2874, allocations: 325.4 kB / 0.7929 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2874, allocations: 0 / 0.7929 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.2874, allocations: 12 kB / 0.7929 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.2875, allocations: 4 kB / 0.7929 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.288, allocations: 254.1 kB / 0.7932 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.2897, allocations: 1.174 MB / 0.7943 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.2903, allocations: 254.5 kB / 0.7945 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.2903, allocations: 3.938 kB / 0.7945 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2903, allocations: 46.5 kB / 0.7946 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.2904, allocations: 0 / 0.7946 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006949/0.291, allocations: 324.4 kB / 0.7949 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.2911, allocations: 77.11 kB / 0.795 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.2915, allocations: 333.6 kB / 0.7953 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.2916, allocations: 33.7 kB / 0.7953 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.2917, allocations: 196 kB / 0.7955 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.2918, allocations: 55.28 kB / 0.7956 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.2918, allocations: 0 / 0.7956 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.292, allocations: 342.8 kB / 0.7959 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.2922, allocations: 91.95 kB / 0.796 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.2924, allocations: 119.2 kB / 0.7961 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.2926, allocations: 100 kB / 0.7962 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2926, allocations: 0 / 0.7962 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004927/0.2931, allocations: 267.8 kB / 0.7964 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.2933, allocations: 271 kB / 0.7967 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.2933, allocations: 4 kB / 0.7967 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2934, allocations: 0 / 0.7967 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.2935, allocations: 35.92 kB / 0.7967 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2936, allocations: 3.984 kB / 0.7967 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.2937, allocations: 31.78 kB / 0.7968 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.2937, allocations: 8 kB / 0.7968 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.2938, allocations: 4 kB / 0.7968 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003147/0.2941, allocations: 182.9 kB / 0.797 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-06/0.2941, allocations: 0 / 0.797 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-06/0.2941, allocations: 4 kB / 0.797 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.2942, allocations: 27.92 kB / 0.797 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2942, allocations: 4 kB / 0.797 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.2944, allocations: 23.78 kB / 0.797 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2944, allocations: 4 kB / 0.797 GB, free: 1.5 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.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.0002334/0.2946, allocations: 241.2 kB / 0.7973 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.2947, allocations: 35.58 kB / 0.7973 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.953e-05/0.2948, allocations: 31.28 kB / 0.7973 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2948, allocations: 7.922 kB / 0.7973 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.2948, allocations: 4 kB / 0.7973 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.2948, allocations: 3.984 kB / 0.7973 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.2953, allocations: 413.2 kB / 0.7977 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2953, allocations: 0 / 0.7977 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.2955, allocations: 39.92 kB / 0.7978 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.2955, allocations: 3.953 kB / 0.7978 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.2955, allocations: 4 kB / 0.7978 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2955, allocations: 0 / 0.7978 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2955, allocations: 0 / 0.7978 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/0.2963, allocations: 455 kB / 0.7982 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.2964, allocations: 128.7 kB / 0.7983 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.2964, allocations: 3.953 kB / 0.7983 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.2966, allocations: 27.98 kB / 0.7984 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.2967, allocations: 7.984 kB / 0.7984 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2967, allocations: 4 kB / 0.7984 GB, free: 20 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002827/0.297, allocations: 235.3 kB / 0.7986 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.297, allocations: 0 / 0.7986 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003962/0.2974, allocations: 95.59 kB / 0.7987 GB, free: 15.7 MB / 0.6231 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.0001321/0.2975, allocations: 103.2 kB / 0.7988 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006196/0.2981, allocations: 295.7 kB / 0.7991 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2982, allocations: 0 / 0.7991 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.2984, allocations: 107.1 kB / 0.7992 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.2989, allocations: 72.47 kB / 0.7992 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.3001, allocations: 0.6445 MB / 0.7999 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.3006, allocations: 0.7833 MB / 0.8006 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.3007, allocations: 22.28 kB / 0.8007 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.3008, allocations: 23.44 kB / 0.8007 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.3008, allocations: 7.938 kB / 0.8007 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of Templates: time 0.006708/0.3075, allocations: 2.863 MB / 0.8035 GB, free: 10.77 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: