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.001002/0.001002, allocations: 109.1 kB / 16.38 MB, free: 6.484 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.0009397/0.0009397, allocations: 190.7 kB / 17.32 MB, free: 5.816 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.321/1.321, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.683/1.683, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001576/0.001577, allocations: 64.12 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2264, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00466/0.2312, allocations: 2.631 MB / 0.7874 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.376/0.6072, allocations: 0.9553 MB / 0.7883 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.6075, allocations: 10.25 kB / 0.7883 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.6078, allocations: 61.09 kB / 0.7884 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.6079, allocations: 67.62 kB / 0.7884 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.6084, allocations: 237.9 kB / 0.7887 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.6087, allocations: 463.5 kB / 0.7891 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.609, allocations: 225.6 kB / 0.7893 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.6091, allocations: 147.6 kB / 0.7895 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.6093, allocations: 148.2 kB / 0.7896 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.6093, allocations: 49.88 kB / 0.7896 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.194e-05/0.6094, allocations: 52.47 kB / 0.7897 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.6094, allocations: 87.73 kB / 0.7898 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.6095, allocations: 195.2 kB / 0.79 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.6099, allocations: 0.6211 MB / 0.7906 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6099, allocations: 0.8438 kB / 0.7906 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.61, allocations: 0.5938 kB / 0.7906 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.61, allocations: 0 / 0.7906 GB, free: 46.36 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.0006919/0.6107, allocations: 0.6586 MB / 0.7912 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.6107, allocations: 11.53 kB / 0.7912 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.6108, allocations: 39.62 kB / 0.7913 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.6112, allocations: 399.5 kB / 0.7916 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.6112, allocations: 25.38 kB / 0.7917 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.6113, allocations: 23.94 kB / 0.7917 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.6117, allocations: 328.5 kB / 0.792 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6117, allocations: 3.938 kB / 0.792 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.6118, allocations: 9.25 kB / 0.792 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.6118, allocations: 7.875 kB / 0.792 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.6122, allocations: 237 kB / 0.7922 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.6133, allocations: 1.16 MB / 0.7934 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.6137, allocations: 232.5 kB / 0.7936 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.6138, allocations: 96.44 kB / 0.7937 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.6139, allocations: 4.062 kB / 0.7937 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.6139, allocations: 38.59 kB / 0.7937 GB, free: 45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.6139, allocations: 0 / 0.7937 GB, free: 45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0005344/0.6144, allocations: 296.5 kB / 0.794 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.6145, allocations: 77.61 kB / 0.7941 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.6147, allocations: 345.7 kB / 0.7944 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.6148, allocations: 25.7 kB / 0.7944 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.6149, allocations: 200.3 kB / 0.7946 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.6149, allocations: 50.59 kB / 0.7947 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.615, allocations: 44.25 kB / 0.7947 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.615, allocations: 347.1 kB / 0.7951 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.6152, allocations: 84.59 kB / 0.7951 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.6154, allocations: 121.8 kB / 0.7953 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.6157, allocations: 185.8 kB / 0.7954 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6157, allocations: 0 / 0.7954 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003784/0.6161, allocations: 257.5 kB / 0.7957 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.6161, allocations: 8.594 kB / 0.7957 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.6161, allocations: 4.188 kB / 0.7957 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.6161, allocations: 0 / 0.7957 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.6163, allocations: 38.19 kB / 0.7957 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.6163, allocations: 3.5 kB / 0.7957 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.6164, allocations: 18.72 kB / 0.7957 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.6164, allocations: 14.88 kB / 0.7958 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000173/0.6166, allocations: 194.5 kB / 0.7959 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001142/0.6167, allocations: 106.8 kB / 0.7961 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001973/0.6169, allocations: 158.2 kB / 0.7962 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.6169, allocations: 1.219 kB / 0.7962 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002812/0.6172, allocations: 231.7 kB / 0.7964 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-06/0.6172, allocations: 10.19 kB / 0.7964 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-06/0.6172, allocations: 0 / 0.7964 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-06/0.6172, allocations: 3.375 kB / 0.7964 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.6174, allocations: 29.28 kB / 0.7965 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.6174, allocations: 3.5 kB / 0.7965 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.804e-05/0.6175, allocations: 7.281 kB / 0.7965 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.6175, allocations: 10.91 kB / 0.7965 GB, free: 43.52 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.968e-05/0.6176, allocations: 191.7 kB / 0.7967 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.6176, allocations: 30.12 kB / 0.7967 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.6177, allocations: 36.86 kB / 0.7967 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6177, allocations: 4 kB / 0.7967 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6177, allocations: 5.188 kB / 0.7967 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.6178, allocations: 130.1 kB / 0.7969 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.6178, allocations: 14.28 kB / 0.7969 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.618, allocations: 14.06 kB / 0.7969 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.618, allocations: 6.578 kB / 0.7969 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004676/0.6185, allocations: 315.5 kB / 0.7972 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005365/0.619, allocations: 0.5129 MB / 0.7977 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001487/0.6192, allocations: 90.28 kB / 0.7978 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001666/0.6194, allocations: 243.7 kB / 0.798 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of Backend: time 4.01e-07/0.6194, allocations: 2.438 kB / 0.798 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006104/0.62, allocations: 286.5 kB / 0.7983 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0009866/0.621, allocations: 1.01 MB / 0.7993 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.008194/0.6292, allocations: 4.275 MB / 0.8035 GB, free: 41.31 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)