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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009075/0.009075, allocations: 102 kB / 15.73 MB, free: 6.039 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.001884/0.001884, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.828/2.828, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 64.11 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2994, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001937/0.3013, allocations: 0.5517 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3031, allocations: 1.199 MB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.3032, allocations: 3.938 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.074e-05/0.3033, allocations: 0 / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.3033, allocations: 0 / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.3041, allocations: 283.3 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.3043, allocations: 79.86 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.3043, allocations: 4 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.025e-05/0.3044, allocations: 35.91 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3045, allocations: 51.77 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3045, allocations: 8 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.305, allocations: 199.7 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.3051, allocations: 11.92 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.3051, allocations: 31.86 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.3055, allocations: 251.6 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3055, allocations: 3.938 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3055, allocations: 0 / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3055, allocations: 0 / 1.21 GB, free: 7.449 MB / 0.9669 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.0004739/0.306, allocations: 441.3 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3061, allocations: 12.62 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.3061, allocations: 114 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.597e-05/0.3062, allocations: 84.12 kB / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.3064, allocations: 255.6 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.3065, allocations: 154.9 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.3066, allocations: 154.9 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.127e-05/0.3066, allocations: 116.9 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.3067, allocations: 75.28 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.3067, allocations: 154.5 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.3067, allocations: 154.6 kB / 1.212 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.81e-05/0.3068, allocations: 150.6 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.3071, allocations: 473.9 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.581e-05/0.3072, allocations: 165.1 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.3072, allocations: 84.14 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3072, allocations: 83.16 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3073, allocations: 109.8 kB / 1.213 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3073, allocations: 7.938 kB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.282e-05/0.3074, allocations: 41.59 kB / 1.213 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.3074, allocations: 126.7 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.3076, allocations: 152.2 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3076, allocations: 25.7 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.3077, allocations: 92.12 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.3077, allocations: 0 / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.3078, allocations: 41.7 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3079, allocations: 322.8 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.308, allocations: 59.95 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.994e-05/0.3081, allocations: 63.88 kB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.3082, allocations: 94.52 kB / 1.214 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3083, allocations: 0 / 1.214 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003921/0.3086, allocations: 231.1 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.3087, allocations: 45.69 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3087, allocations: 4 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3087, allocations: 0 / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.3087, allocations: 8.125 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.3088, allocations: 0 / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.3091, allocations: 19.97 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.3091, allocations: 15.98 kB / 1.214 GB, free: 3.137 MB / 0.9669 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.0001151/0.3093, allocations: 197.1 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.3093, allocations: 116.8 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.3094, allocations: 108.5 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.041e-05/0.3094, allocations: 184.2 kB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.188e-05/0.3095, allocations: 176.3 kB / 1.215 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.768e-05/0.3096, allocations: 188.3 kB / 1.215 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.3098, allocations: 417.1 kB / 1.215 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/0.3098, allocations: 104.9 kB / 1.215 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.3099, allocations: 112.9 kB / 1.215 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.967e-05/0.3099, allocations: 176.3 kB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.31, allocations: 180.2 kB / 1.216 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.271e-05/0.31, allocations: 184.2 kB / 1.216 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-05/0.3101, allocations: 180.3 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.3102, allocations: 307.7 kB / 1.216 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.3103, allocations: 201.9 kB / 1.217 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.3104, allocations: 176.3 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.3104, allocations: 101 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.3105, allocations: 180.2 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.3106, allocations: 109 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.93e-05/0.3106, allocations: 107.2 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3106, allocations: 3.938 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003679/0.311, allocations: 67.98 kB / 1.217 GB, free: 15.41 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.001015/0.312, allocations: 1.047 MB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.3123, allocations: 219.3 kB / 1.218 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3123, allocations: 0 / 1.218 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.3123, allocations: 0 / 1.218 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3127, allocations: 461.4 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3144, allocations: 1.854 MB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.3147, allocations: 0.6845 MB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.03e-05/0.3147, allocations: 59.92 kB / 1.221 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.3148, allocations: 7.438 kB / 1.221 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3148, allocations: 0 / 1.221 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.3362, allocations: 3.751 MB / 1.225 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.319, allocations: 9.109 kB / 1.225 GB, free: 7.34 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat does not exist to compare? outputFormat=mat