Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.025/2.025, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 187.4 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008921/0.0008921, allocations: 111.7 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009775/0.0009778, allocations: 46.23 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2311, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00301/0.2342, allocations: 2.632 MB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.2352, allocations: 0.8768 MB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.2353, allocations: 11.94 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.2355, allocations: 47.64 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.2356, allocations: 47.59 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.236, allocations: 227.3 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.2362, allocations: 411.6 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.2365, allocations: 217.1 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.629e-05/0.2365, allocations: 115.3 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.476e-05/0.2366, allocations: 123.2 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.2367, allocations: 16 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.558e-05/0.2367, allocations: 16 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.2367, allocations: 59.64 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.752e-05/0.2368, allocations: 151.1 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.2371, allocations: 0.5745 MB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2371, allocations: 4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 6.42e-07/0.2371, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2371, allocations: 7.938 kB / 1.223 GB, free: 111.7 MB / 0.823 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.0006691/0.2378, allocations: 0.639 MB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.2379, allocations: 19.98 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.2379, allocations: 44.38 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.2382, allocations: 379.3 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.2383, allocations: 24.94 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.2383, allocations: 28.38 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.2387, allocations: 333.7 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2387, allocations: 4 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.2388, allocations: 15.94 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2388, allocations: 8 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.2391, allocations: 234.2 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2402, allocations: 1.166 MB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.2406, allocations: 234.8 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.2407, allocations: 96.86 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.2408, allocations: 0 / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.2408, allocations: 38.56 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.2408, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0005052/0.2413, allocations: 297.2 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.2413, allocations: 81.05 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.2416, allocations: 332.4 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.2416, allocations: 33.7 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.2417, allocations: 192.1 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.2417, allocations: 51.2 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.2418, allocations: 41.7 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.2418, allocations: 342.8 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.242, allocations: 88.78 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.2421, allocations: 116.6 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.2424, allocations: 195.8 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2424, allocations: 0 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003467/0.2428, allocations: 250 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2428, allocations: 4 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2428, allocations: 0 / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2428, allocations: 12.05 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.243, allocations: 31.98 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.243, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2431, allocations: 27.69 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2431, allocations: 15.92 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001625/0.2433, allocations: 188.1 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001103/0.2434, allocations: 103.4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001962/0.2436, allocations: 164.4 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.2436, allocations: 0 / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002641/0.2439, allocations: 234.3 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.2439, allocations: 4 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-06/0.2439, allocations: 7.938 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-06/0.2439, allocations: 4.062 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.244, allocations: 27.98 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-06/0.244, allocations: 0 / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.586e-05/0.2441, allocations: 15.84 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2441, allocations: 7.938 kB / 1.229 GB, free: 105.3 MB / 0.823 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.131e-05/0.2442, allocations: 196.8 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2443, allocations: 27.72 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.2443, allocations: 35.28 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2443, allocations: 11.98 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2443, allocations: 0 / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2443, allocations: 3.938 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.2446, allocations: 409.2 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2446, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2448, allocations: 27.98 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2448, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2448, allocations: 8 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2448, allocations: 3.938 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2448, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.2475, allocations: 2.489 MB / 1.232 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.2475, allocations: 132.7 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.2476, allocations: 3.938 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2477, allocations: 11.98 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2478, allocations: 11.98 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2478, allocations: 0 / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001505/0.2479, allocations: 239.1 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.2479, allocations: 0 / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004959/0.2484, allocations: 135.5 kB / 1.233 GB, free: 101.4 MB / 0.823 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.366e-05/0.2485, allocations: 95.25 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004434/0.249, allocations: 284.8 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.249, allocations: 4 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.2491, allocations: 99.89 kB / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.2497, allocations: 79.78 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008375/0.2505, allocations: 0.8481 MB / 1.234 GB, free: 99.94 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.2507, allocations: 0.7797 MB / 1.235 GB, free: 99.13 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.2508, allocations: 34.27 kB / 1.235 GB, free: 99.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.2509, allocations: 23.44 kB / 1.235 GB, free: 99.07 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.2509, allocations: 4 kB / 1.235 GB, free: 99.07 MB / 0.823 GB Notification: Performance of Templates: time 0.005116/0.256, allocations: 3.626 MB / 1.239 GB, free: 95.48 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)