Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.004976/0.004976, allocations: 99.92 kB / 15.73 MB, free: 6.043 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.001236/0.001236, allocations: 195.9 kB / 16.68 MB, free: 5.961 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.233/1.233, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 251.7 MB / 0.5094 GB, free: 3.023 MB / 414.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.001506/0.001506, allocations: 67.91 kB / 0.7257 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1912, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004094/0.1953, allocations: 2.633 MB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.1976, allocations: 0.9553 MB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.1981, allocations: 11.94 kB / 0.8315 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.1984, allocations: 67.38 kB / 0.8316 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.1988, allocations: 71.34 kB / 0.8317 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.1994, allocations: 239.3 kB / 0.8319 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.2, allocations: 467.6 kB / 0.8323 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.2003, allocations: 221.1 kB / 0.8325 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.2004, allocations: 151.4 kB / 0.8327 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.2006, allocations: 155.1 kB / 0.8328 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.537e-05/0.2006, allocations: 52 kB / 0.8329 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.424e-05/0.2007, allocations: 48 kB / 0.8329 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.053e-05/0.2008, allocations: 83.72 kB / 0.833 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.2009, allocations: 195 kB / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.2016, allocations: 0.6191 MB / 0.8338 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2016, allocations: 0 / 0.8338 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2016, allocations: 0 / 0.8338 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.2016, allocations: 0 / 0.8338 GB, free: 10.24 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.001062/0.2027, allocations: 0.6545 MB / 0.8344 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.2027, allocations: 8.031 kB / 0.8345 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.2029, allocations: 48.39 kB / 0.8345 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.2034, allocations: 407.2 kB / 0.8349 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.2034, allocations: 24.88 kB / 0.8349 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.2035, allocations: 28.31 kB / 0.8349 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.204, allocations: 325.7 kB / 0.8352 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.204, allocations: 0 / 0.8352 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.204, allocations: 8 kB / 0.8353 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.2041, allocations: 12 kB / 0.8353 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.2045, allocations: 238.1 kB / 0.8355 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.206, allocations: 1.163 MB / 0.8366 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.2065, allocations: 222.9 kB / 0.8368 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.2067, allocations: 100.8 kB / 0.8369 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.2067, allocations: 3.938 kB / 0.8369 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2067, allocations: 34.56 kB / 0.837 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.2067, allocations: 0 / 0.837 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0006075/0.2074, allocations: 301.2 kB / 0.8373 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.2074, allocations: 77.11 kB / 0.8373 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.2077, allocations: 345.5 kB / 0.8377 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.2078, allocations: 29.7 kB / 0.8377 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.2079, allocations: 192.2 kB / 0.8379 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.208, allocations: 51.2 kB / 0.8379 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.208, allocations: 45.7 kB / 0.838 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2082, allocations: 346.8 kB / 0.8383 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.2083, allocations: 92.83 kB / 0.8384 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.2085, allocations: 115.3 kB / 0.8385 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.2089, allocations: 197.3 kB / 0.8387 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2089, allocations: 0 / 0.8387 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004237/0.2093, allocations: 249.2 kB / 0.8389 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2093, allocations: 4 kB / 0.8389 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2093, allocations: 0 / 0.8389 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2094, allocations: 4.062 kB / 0.8389 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.2095, allocations: 35.92 kB / 0.839 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.2095, allocations: 3.984 kB / 0.839 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.2097, allocations: 27.69 kB / 0.839 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.2097, allocations: 4 kB / 0.839 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002107/0.2099, allocations: 204 kB / 0.8392 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001436/0.2101, allocations: 106.3 kB / 0.8393 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002425/0.2103, allocations: 165.2 kB / 0.8395 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.2103, allocations: 0 / 0.8395 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003298/0.2107, allocations: 229.1 kB / 0.8397 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.2107, allocations: 4 kB / 0.8397 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.2107, allocations: 4 kB / 0.8397 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-06/0.2107, allocations: 8 kB / 0.8397 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2108, allocations: 27.92 kB / 0.8397 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.2108, allocations: 4 kB / 0.8397 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.2109, allocations: 15.84 kB / 0.8397 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.2109, allocations: 7.938 kB / 0.8397 GB, free: 3.871 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 9.733e-05/0.211, allocations: 188.3 kB / 0.8399 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.2111, allocations: 35.56 kB / 0.84 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.673e-05/0.2112, allocations: 31.28 kB / 0.84 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2112, allocations: 7.984 kB / 0.84 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2112, allocations: 4 kB / 0.84 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2112, allocations: 3.938 kB / 0.84 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.2116, allocations: 409.3 kB / 0.8404 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2116, allocations: 0 / 0.8404 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.2117, allocations: 23.98 kB / 0.8404 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.2118, allocations: 4 kB / 0.8404 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2118, allocations: 4 kB / 0.8404 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2118, allocations: 0 / 0.8404 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2118, allocations: 0 / 0.8404 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.2124, allocations: 445.8 kB / 0.8408 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.2125, allocations: 136.7 kB / 0.841 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.2125, allocations: 7.984 kB / 0.841 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2127, allocations: 12 kB / 0.841 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.2127, allocations: 11.92 kB / 0.841 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.2128, allocations: 12.06 kB / 0.841 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002029/0.213, allocations: 235.2 kB / 0.8412 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.213, allocations: 0 / 0.8412 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003653/0.2133, allocations: 91.67 kB / 0.8413 GB, free: 2.152 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 9.775e-05/0.2134, allocations: 107.2 kB / 0.8414 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005287/0.214, allocations: 287.3 kB / 0.8417 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.214, allocations: 3.938 kB / 0.8417 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2142, allocations: 95.91 kB / 0.8418 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.2146, allocations: 79.38 kB / 0.8419 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009295/0.2156, allocations: 0.5593 MB / 0.8424 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.2159, allocations: 0.779 MB / 0.8432 GB, free: 204 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000122/0.216, allocations: 30.22 kB / 0.8432 GB, free: 172 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.2161, allocations: 19.44 kB / 0.8432 GB, free: 152 kB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.2161, allocations: 0 / 0.8432 GB, free: 152 kB / 0.6544 GB Notification: Performance of Templates: time 0.006672/0.2228, allocations: 3.208 MB / 0.8464 GB, free: 12.98 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)