Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004808/0.004808, allocations: 99.2 kB / 15.73 MB, free: 6.445 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.001091/0.001091, allocations: 194.4 kB / 16.67 MB, free: 6.348 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.782/2.782, allocations: 469.4 MB / 0.7421 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 59.91 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3142, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001877/0.3161, allocations: 0.5418 MB / 1.22 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3179, allocations: 1.206 MB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.3179, allocations: 4 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.666e-05/0.318, allocations: 0 / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.3181, allocations: 3.938 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.3188, allocations: 285.4 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.319, allocations: 75.86 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.319, allocations: 7.938 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.602e-05/0.3191, allocations: 31.98 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.3192, allocations: 47.83 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.3192, allocations: 4 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.3196, allocations: 207.6 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.3197, allocations: 4 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.3197, allocations: 39.84 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.3201, allocations: 251.3 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3201, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3201, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.3202, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 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.0004544/0.3206, allocations: 448.5 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3207, allocations: 8.031 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.3207, allocations: 106 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.3208, allocations: 88.22 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.321, allocations: 259.5 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.3211, allocations: 154.9 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.3211, allocations: 158.9 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.504e-05/0.3212, allocations: 112.9 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.3212, allocations: 75.28 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/0.3213, allocations: 154.6 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.3214, allocations: 150.6 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.093e-05/0.3214, allocations: 154.6 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.3217, allocations: 469.9 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.868e-05/0.3218, allocations: 177.1 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.3219, allocations: 80.14 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3219, allocations: 79.22 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.322, allocations: 113.8 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.322, allocations: 0 / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.000101/0.3221, allocations: 37.66 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.3221, allocations: 134.7 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.3223, allocations: 145.7 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3223, allocations: 33.64 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.3224, allocations: 96.11 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.3224, allocations: 0 / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.3225, allocations: 37.7 kB / 1.225 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3226, allocations: 322.8 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.3227, allocations: 55.95 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3228, allocations: 67.94 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.323, allocations: 94.52 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.323, allocations: 0 / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004113/0.3234, allocations: 231.2 kB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.3235, allocations: 41.69 kB / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3235, allocations: 0 / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3235, allocations: 0 / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.3235, allocations: 3.938 kB / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.3235, allocations: 0 / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.3238, allocations: 27.91 kB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.3239, allocations: 24.05 kB / 1.226 GB, free: 7.648 MB / 0.9825 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.0001217/0.324, allocations: 189.7 kB / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.3241, allocations: 120.9 kB / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.3242, allocations: 104.5 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-05/0.3242, allocations: 188.2 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.385e-05/0.3243, allocations: 180.3 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.835e-05/0.3244, allocations: 188.2 kB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.3246, allocations: 417.2 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/0.3246, allocations: 108.9 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.3247, allocations: 101 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.116e-05/0.3248, allocations: 180.3 kB / 1.228 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.3248, allocations: 188.2 kB / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.538e-05/0.3249, allocations: 180.2 kB / 1.228 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.679e-05/0.325, allocations: 184.2 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.3251, allocations: 303.8 kB / 1.229 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.3252, allocations: 197.9 kB / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-05/0.3253, allocations: 180.3 kB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.3254, allocations: 108.9 kB / 1.229 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.3254, allocations: 176.3 kB / 1.229 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.3255, allocations: 101 kB / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.212e-05/0.3256, allocations: 110.3 kB / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3256, allocations: 0 / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003617/0.3259, allocations: 75.73 kB / 1.23 GB, free: 3.918 MB / 0.9825 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.003455/0.3294, allocations: 1.045 MB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.3298, allocations: 215.3 kB / 1.231 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3298, allocations: 0 / 1.231 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.3298, allocations: 3.938 kB / 1.231 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3302, allocations: 465.5 kB / 1.231 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.3321, allocations: 1.849 MB / 1.233 GB, free: 304 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3324, allocations: 0.6807 MB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.682e-05/0.3325, allocations: 51.86 kB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.3325, allocations: 7.438 kB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.3325, allocations: 4.031 kB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.3541, allocations: 3.724 MB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.546, allocations: 15.28 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1)