Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001178/0.001178, allocations: 195.4 kB / 16.14 MB, free: 6.695 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 60.98 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3642, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002245/0.3665, allocations: 0.6028 MB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.3685, allocations: 1.208 MB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.3686, allocations: 0 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.704e-05/0.3687, allocations: 8 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.694e-05/0.3688, allocations: 4 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007027/0.3695, allocations: 239.5 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.3696, allocations: 79.8 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.3697, allocations: 8 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.7e-05/0.3697, allocations: 47.83 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.167e-05/0.3698, allocations: 31.92 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.3698, allocations: 4 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.3703, allocations: 187.7 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.3703, allocations: 7.938 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.3704, allocations: 35.78 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.3708, allocations: 255.5 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3708, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3709, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3709, allocations: 4 kB / 1.07 GB, free: 8.199 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000496/0.3714, allocations: 445.3 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3714, allocations: 11.97 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3715, allocations: 84.22 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.3717, allocations: 255.5 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.3718, allocations: 150.9 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/0.3719, allocations: 162.9 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.372, allocations: 109 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/0.372, allocations: 75.28 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/0.3721, allocations: 154.6 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-05/0.3722, allocations: 150.6 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.715e-05/0.3723, allocations: 154.5 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.3727, allocations: 473.9 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3729, allocations: 169.1 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.3729, allocations: 80.14 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.3729, allocations: 75.28 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.059e-05/0.373, allocations: 113.8 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.464e-06/0.373, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001232/0.3732, allocations: 41.55 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.3732, allocations: 126.7 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3734, allocations: 147.6 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.3735, allocations: 29.7 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.3736, allocations: 88.14 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.3736, allocations: 4 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.851e-05/0.3737, allocations: 49.69 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3739, allocations: 314.8 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.374, allocations: 59.95 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3741, allocations: 63.94 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.3743, allocations: 98.45 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3743, allocations: 0 / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004697/0.3748, allocations: 231.3 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/0.3749, allocations: 42.78 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3749, allocations: 4.062 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3749, allocations: 0 / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.3749, allocations: 0 / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3749, allocations: 4 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.3753, allocations: 27.81 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.3753, allocations: 19.94 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001448/0.3755, allocations: 194.9 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.3756, allocations: 124.8 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.3756, allocations: 112.3 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.529e-05/0.3757, allocations: 184.3 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.766e-05/0.3758, allocations: 180.2 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.927e-05/0.3759, allocations: 176.3 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.3761, allocations: 417.1 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.746e-05/0.3762, allocations: 105 kB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.3762, allocations: 108.9 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.553e-05/0.3763, allocations: 184.2 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/0.3764, allocations: 176.3 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.33e-05/0.3765, allocations: 180.2 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-05/0.3765, allocations: 184.2 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.3767, allocations: 311.7 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.3768, allocations: 182 kB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.3769, allocations: 192.2 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.377, allocations: 101 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.377, allocations: 184.2 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.3771, allocations: 105 kB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.288e-05/0.3772, allocations: 103.2 kB / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3772, allocations: 0 / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003673/0.3775, allocations: 79.83 kB / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0008036/0.3784, allocations: 405.1 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.3787, allocations: 215.3 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3787, allocations: 64 / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-06/0.3787, allocations: 7.938 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3791, allocations: 0.5242 MB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.3794, allocations: 246 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.3797, allocations: 0.6809 MB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.671e-05/0.3798, allocations: 51.81 kB / 1.079 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.3798, allocations: 11.44 kB / 1.079 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3798, allocations: 0 / 1.079 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of Templates: time 0.005754/0.3856, allocations: 2.572 MB / 1.082 GB, free: 11.6 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1)