Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001072/0.001072, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008647/0.008647, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 18.77 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3164, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002917/0.3193, allocations: 2.277 MB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3209, allocations: 0.8767 MB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.3212, allocations: 11.94 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.3214, allocations: 43.64 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.3216, allocations: 51.59 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.3222, allocations: 215.3 kB / 1.078 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.3227, allocations: 403.6 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.323, allocations: 225.1 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3232, allocations: 75.47 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3233, allocations: 107.2 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.3233, allocations: 8 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.3234, allocations: 8 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.3234, allocations: 43.7 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.3235, allocations: 164.7 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.324, allocations: 0.553 MB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.324, allocations: 0 / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.324, allocations: 0 / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.324, allocations: 0 / 1.079 GB, free: 2.48 MB / 0.8262 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.0007708/0.3248, allocations: 0.5806 MB / 1.08 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3248, allocations: 11.97 kB / 1.08 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.3249, allocations: 40.47 kB / 1.08 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.3253, allocations: 383.3 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.3253, allocations: 24.94 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.3254, allocations: 28.28 kB / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.326, allocations: 329.7 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.326, allocations: 0 / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.326, allocations: 16 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.326, allocations: 8 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/0.3266, allocations: 246.1 kB / 1.081 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.328, allocations: 1.174 MB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.3286, allocations: 250.8 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.3288, allocations: 100.8 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3288, allocations: 4 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3288, allocations: 34.56 kB / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.3289, allocations: 0 / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0006809/0.3295, allocations: 313.2 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.3296, allocations: 85.11 kB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.3299, allocations: 336.4 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.33, allocations: 29.7 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3301, allocations: 192.2 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.3302, allocations: 55.2 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.3302, allocations: 25.64 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3304, allocations: 346.7 kB / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.3306, allocations: 91.97 kB / 1.084 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.3308, allocations: 120.8 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.3312, allocations: 195.6 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3312, allocations: 4 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005043/0.3317, allocations: 270.9 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/0.3318, allocations: 106.7 kB / 1.084 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3318, allocations: 8 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3318, allocations: 3.938 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.332, allocations: 31.98 kB / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.332, allocations: 0 / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.3322, allocations: 35.67 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3322, allocations: 4 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.272e-06/0.3322, allocations: 4 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003227/0.3325, allocations: 181.8 kB / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3326, allocations: 4 kB / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.3326, allocations: 3.938 kB / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3327, allocations: 24 kB / 1.085 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.3327, allocations: 4 kB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.3328, allocations: 23.77 kB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3328, allocations: 8 kB / 1.085 GB, free: 12.54 MB / 0.8419 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 0.0001831/0.333, allocations: 253 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.3331, allocations: 31.62 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/0.3332, allocations: 35.28 kB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3332, allocations: 0 / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3332, allocations: 0 / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3332, allocations: 4 kB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.3336, allocations: 413.2 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3336, allocations: 3.984 kB / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.3338, allocations: 27.98 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3338, allocations: 4 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.3339, allocations: 4 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3339, allocations: 0 / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3339, allocations: 3.938 kB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007313/0.3346, allocations: 453.6 kB / 1.086 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3347, allocations: 136.6 kB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3348, allocations: 0 / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.3349, allocations: 24.05 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.335, allocations: 11.98 kB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.335, allocations: 8 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002281/0.3352, allocations: 231.1 kB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3352, allocations: 0 / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004/0.3356, allocations: 91.62 kB / 1.086 GB, free: 10.76 MB / 0.8419 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 0.0001075/0.3358, allocations: 103.2 kB / 1.086 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006084/0.3364, allocations: 305.5 kB / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3364, allocations: 0 / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.3366, allocations: 104.2 kB / 1.087 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.3372, allocations: 72.11 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.3383, allocations: 0.6793 MB / 1.087 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3386, allocations: 0.7755 MB / 1.088 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001443/0.3388, allocations: 38.19 kB / 1.088 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.3389, allocations: 19.44 kB / 1.088 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3389, allocations: 0 / 1.088 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of Templates: time 0.006763/0.3456, allocations: 2.939 MB / 1.091 GB, free: 5.703 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)