Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0008288/0.0008291, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006098/0.006098, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 11.12 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3418, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.0007713/0.3426, allocations: 274.2 kB / 1.074 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.3443, allocations: 1.197 MB / 1.076 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.554e-05/0.3443, allocations: 0 / 1.076 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.213e-05/0.3444, allocations: 12 kB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.3445, allocations: 4 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.345, allocations: 239.5 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3451, allocations: 75.81 kB / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.3452, allocations: 0 / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.369e-05/0.3452, allocations: 47.84 kB / 1.076 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.3453, allocations: 39.89 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3453, allocations: 4 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.3457, allocations: 183.7 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.3458, allocations: 7.984 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.3458, allocations: 65.5 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.3462, allocations: 247.5 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3462, allocations: 0 / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3462, allocations: 4 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.3462, allocations: 0 / 1.076 GB, free: 5.148 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.0004533/0.3467, allocations: 421.3 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3467, allocations: 8.031 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.3468, allocations: 88.16 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.347, allocations: 255.5 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.3471, allocations: 154.9 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.502e-05/0.3471, allocations: 154.9 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.764e-05/0.3472, allocations: 109.1 kB / 1.078 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.3472, allocations: 79.22 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.3473, allocations: 150.6 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.018e-05/0.3474, allocations: 154.6 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.3474, allocations: 158.5 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.3477, allocations: 473.9 kB / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.37e-05/0.3478, allocations: 165.1 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.3479, allocations: 84.14 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.3479, allocations: 75.28 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.348, allocations: 117.7 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.133e-06/0.348, allocations: 4 kB / 1.079 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001012/0.3481, allocations: 41.55 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.3482, allocations: 126.7 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3484, allocations: 140.6 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.3484, allocations: 29.7 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.3485, allocations: 96.03 kB / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-06/0.3485, allocations: 0 / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.3486, allocations: 21.72 kB / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3487, allocations: 318.8 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.3489, allocations: 59.95 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.349, allocations: 63.94 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3492, allocations: 98.45 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3492, allocations: 0 / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004301/0.3496, allocations: 227.2 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-05/0.3497, allocations: 41.69 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3497, allocations: 0 / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3497, allocations: 0 / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.3497, allocations: 8.062 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3497, allocations: 0 / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.3501, allocations: 23.88 kB / 1.08 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.3502, allocations: 16 kB / 1.08 GB, free: 1.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.0001626/0.3503, allocations: 193.1 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.3504, allocations: 116.8 kB / 1.081 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.3506, allocations: 120.3 kB / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.272e-05/0.3507, allocations: 180.3 kB / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002021/0.3509, allocations: 188.2 kB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.282e-05/0.351, allocations: 180.2 kB / 1.081 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.3514, allocations: 417.1 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001188/0.3515, allocations: 101 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.3516, allocations: 116.9 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.835e-05/0.3517, allocations: 180.2 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/0.3519, allocations: 176.3 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.68e-05/0.352, allocations: 180.2 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.654e-05/0.3521, allocations: 188.2 kB / 1.082 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.3524, allocations: 311.7 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.3525, allocations: 197.9 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.3526, allocations: 184.2 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3527, allocations: 105 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.3528, allocations: 176.3 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.3529, allocations: 112.9 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.441e-05/0.353, allocations: 107.2 kB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.353, allocations: 0 / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004996/0.3535, allocations: 71.98 kB / 1.084 GB, free: 13.26 MB / 0.8419 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.0009888/0.3545, allocations: 410 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.3548, allocations: 207.3 kB / 1.084 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3549, allocations: 4 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.657e-06/0.3549, allocations: 7.938 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.3555, allocations: 0.5302 MB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.3559, allocations: 236.8 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.3563, allocations: 0.677 MB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002403/0.3566, allocations: 59.8 kB / 1.086 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.3566, allocations: 11.44 kB / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.3566, allocations: 0 / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of Templates: time 0.005822/0.3625, allocations: 2.564 MB / 1.088 GB, free: 8.582 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1)