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.001128/0.001128, allocations: 102.6 kB / 16.29 MB, free: 6.43 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.00111/0.00111, allocations: 189.4 kB / 17.22 MB, free: 5.926 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.155/1.155, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.619/1.619, allocations: 292.3 MB / 0.5495 GB, free: 17.32 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.001293/0.001293, allocations: 67.89 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1837, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003518/0.1872, allocations: 2.624 MB / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1886, allocations: 0.9516 MB / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.1887, allocations: 11.94 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1889, allocations: 63.39 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.189, allocations: 67.34 kB / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.2932/0.4823, allocations: 230.9 kB / 0.7879 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000416/0.4827, allocations: 463.1 kB / 0.7884 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.483, allocations: 227.3 kB / 0.7886 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.4831, allocations: 152.1 kB / 0.7887 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.4832, allocations: 149.5 kB / 0.7889 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.4833, allocations: 49.69 kB / 0.7889 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.154e-05/0.4833, allocations: 54.16 kB / 0.789 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.4834, allocations: 86.17 kB / 0.789 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.313e-05/0.4835, allocations: 191.8 kB / 0.7892 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.4838, allocations: 0.6204 MB / 0.7898 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4838, allocations: 2.625 kB / 0.7898 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4839, allocations: 0 / 0.7898 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4839, allocations: 0 / 0.7898 GB, free: 45.82 MB / 0.6544 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.0006597/0.4845, allocations: 0.6579 MB / 0.7905 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.4846, allocations: 9.812 kB / 0.7905 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.4846, allocations: 46.41 kB / 0.7905 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.4849, allocations: 391.2 kB / 0.7909 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.4849, allocations: 24.88 kB / 0.7909 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.485, allocations: 23.62 kB / 0.791 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.4854, allocations: 326.5 kB / 0.7913 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4854, allocations: 3.938 kB / 0.7913 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.4855, allocations: 13.09 kB / 0.7913 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.4855, allocations: 5.938 kB / 0.7913 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.4858, allocations: 234.1 kB / 0.7915 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.4869, allocations: 1.161 MB / 0.7926 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.4872, allocations: 228.3 kB / 0.7929 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.4874, allocations: 96.67 kB / 0.793 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.4874, allocations: 3.969 kB / 0.793 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.4874, allocations: 40.88 kB / 0.793 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.193e-06/0.4874, allocations: 0 / 0.793 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0004868/0.4879, allocations: 297.5 kB / 0.7933 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.4879, allocations: 81.42 kB / 0.7934 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.4882, allocations: 338.5 kB / 0.7937 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.4882, allocations: 30.7 kB / 0.7937 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.4883, allocations: 198.4 kB / 0.7939 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.4883, allocations: 51.16 kB / 0.794 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.4884, allocations: 43.8 kB / 0.794 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.4885, allocations: 346.8 kB / 0.7943 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.4886, allocations: 85.16 kB / 0.7944 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.4888, allocations: 117.9 kB / 0.7945 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.489, allocations: 187.2 kB / 0.7947 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.489, allocations: 0.875 kB / 0.7947 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003485/0.4894, allocations: 254.8 kB / 0.7949 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.4894, allocations: 9.594 kB / 0.7949 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.4894, allocations: 0 / 0.7949 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4894, allocations: 4.625 kB / 0.795 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.4896, allocations: 30.19 kB / 0.795 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4896, allocations: 1.219 kB / 0.795 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.4897, allocations: 37.09 kB / 0.795 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.4897, allocations: 4.125 kB / 0.795 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001674/0.4899, allocations: 199.1 kB / 0.7952 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001097/0.49, allocations: 105.3 kB / 0.7953 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001878/0.4902, allocations: 158 kB / 0.7955 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.61e-07/0.4902, allocations: 2.5 kB / 0.7955 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002688/0.4905, allocations: 228.4 kB / 0.7957 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.4905, allocations: 11.92 kB / 0.7957 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-06/0.4905, allocations: 0 / 0.7957 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-06/0.4905, allocations: 4.875 kB / 0.7957 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.4906, allocations: 31.17 kB / 0.7957 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.4906, allocations: 3.5 kB / 0.7957 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.292e-05/0.4907, allocations: 13.97 kB / 0.7957 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.4908, allocations: 6.938 kB / 0.7958 GB, free: 43.37 MB / 0.6544 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 6.795e-05/0.4908, allocations: 196.2 kB / 0.7959 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.4909, allocations: 29.47 kB / 0.796 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.4909, allocations: 30.77 kB / 0.796 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4909, allocations: 4.344 kB / 0.796 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4909, allocations: 0 / 0.796 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.491, allocations: 6.344 kB / 0.796 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.4912, allocations: 417.5 kB / 0.7964 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4912, allocations: 0 / 0.7964 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.4914, allocations: 29.33 kB / 0.7964 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4914, allocations: 0 / 0.7964 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.4914, allocations: 7.969 kB / 0.7964 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4914, allocations: 2.156 kB / 0.7964 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4914, allocations: 0 / 0.7964 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.4919, allocations: 441.2 kB / 0.7969 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.492, allocations: 128.8 kB / 0.797 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.492, allocations: 9.062 kB / 0.797 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.4922, allocations: 6.875 kB / 0.797 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.4922, allocations: 13.38 kB / 0.797 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.4922, allocations: 7.344 kB / 0.797 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001565/0.4924, allocations: 241.9 kB / 0.7973 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4924, allocations: 0 / 0.7973 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003269/0.4927, allocations: 93.5 kB / 0.7973 GB, free: 42.31 MB / 0.6544 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 7.022e-05/0.4928, allocations: 113.9 kB / 0.7975 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.4932, allocations: 278.8 kB / 0.7977 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4932, allocations: 0 / 0.7977 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.4934, allocations: 97.72 kB / 0.7978 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.4939, allocations: 90.05 kB / 0.7979 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.4946, allocations: 0.5534 MB / 0.7984 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.4947, allocations: 0.7787 MB / 0.7992 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.674e-05/0.4948, allocations: 27.3 kB / 0.7992 GB, free: 41.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.4949, allocations: 21.03 kB / 0.7992 GB, free: 41.01 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.4949, allocations: 0 / 0.7992 GB, free: 41.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.005991/0.5009, allocations: 3.166 MB / 0.8023 GB, free: 40.86 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)