Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.00726/0.00726, allocations: 100.7 kB / 15.73 MB, free: 6.008 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.001626/0.001626, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.091/2.091, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6327/0.634, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001494/0.6355, allocations: 0.5491 MB / 1.088 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.6367, allocations: 1.187 MB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.6368, allocations: 1.062 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.943e-05/0.6368, allocations: 14.12 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.865e-05/0.6369, allocations: 4.609 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.6374, allocations: 283.5 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.6376, allocations: 74.7 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.6376, allocations: 3.891 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.6377, allocations: 36.72 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.791e-05/0.6378, allocations: 43.23 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.6378, allocations: 2.969 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.6381, allocations: 210.3 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.6381, allocations: 12.27 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.6382, allocations: 27.3 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.6385, allocations: 256.9 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6386, allocations: 2.094 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6386, allocations: 0 / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.6386, allocations: 0 / 1.09 GB, free: 3.762 MB / 0.8575 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.0003085/0.6389, allocations: 438 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.6389, allocations: 10.47 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.935e-05/0.639, allocations: 114.7 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.639, allocations: 82.16 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.366e-05/0.6391, allocations: 264.5 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.6391, allocations: 153.5 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.6392, allocations: 161.2 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.204e-05/0.6392, allocations: 106.2 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.6392, allocations: 79.28 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.6393, allocations: 152.2 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.6393, allocations: 150.6 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.633e-05/0.6393, allocations: 151.2 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.6395, allocations: 473.7 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.359e-05/0.6395, allocations: 177.8 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.6395, allocations: 80.8 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.6396, allocations: 79.22 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/0.6396, allocations: 107.7 kB / 1.093 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.6396, allocations: 0 / 1.093 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.779e-05/0.6397, allocations: 41.91 kB / 1.093 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.6398, allocations: 126.7 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.6399, allocations: 148.4 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.6399, allocations: 28.73 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.64, allocations: 97.97 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.64, allocations: 0.8438 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.6401, allocations: 41.75 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.6402, allocations: 319.6 kB / 1.093 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.6403, allocations: 62.53 kB / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.6404, allocations: 67.56 kB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.6405, allocations: 91.31 kB / 1.094 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6405, allocations: 0 / 1.094 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003775/0.6409, allocations: 232 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.641, allocations: 46.55 kB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.641, allocations: 5 kB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.641, allocations: 0 / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.674e-06/0.641, allocations: 1.984 kB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.641, allocations: 4.062 kB / 1.094 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.6413, allocations: 27.23 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.6413, allocations: 13.97 kB / 1.094 GB, free: 16 MB / 0.8731 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.0001112/0.6414, allocations: 198.4 kB / 1.094 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.6415, allocations: 112 kB / 1.094 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.6416, allocations: 112.3 kB / 1.094 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.072e-05/0.6416, allocations: 182.3 kB / 1.095 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.675e-05/0.6417, allocations: 185.1 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-05/0.6417, allocations: 182.2 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.6419, allocations: 413.6 kB / 1.095 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/0.642, allocations: 110.3 kB / 1.095 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.642, allocations: 102.4 kB / 1.096 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.098e-05/0.642, allocations: 185.8 kB / 1.096 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.6421, allocations: 178.1 kB / 1.096 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.253e-05/0.6422, allocations: 182 kB / 1.096 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.062e-05/0.6422, allocations: 182.4 kB / 1.096 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.6423, allocations: 315.8 kB / 1.097 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.6424, allocations: 187.9 kB / 1.097 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.6425, allocations: 182.5 kB / 1.097 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.6426, allocations: 102.7 kB / 1.097 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.6426, allocations: 178.1 kB / 1.097 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.6426, allocations: 106.8 kB / 1.097 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.6427, allocations: 110.2 kB / 1.097 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6427, allocations: 0 / 1.097 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003399/0.6431, allocations: 76.08 kB / 1.097 GB, free: 12.41 MB / 0.8731 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.1062/0.7493, allocations: 1.032 MB / 1.098 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004991/0.7498, allocations: 217.1 kB / 1.099 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7498, allocations: 4.062 kB / 1.099 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-06/0.7498, allocations: 1.484 kB / 1.099 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.7504, allocations: 457.3 kB / 1.099 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.753, allocations: 1.853 MB / 1.101 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.7533, allocations: 0.6796 MB / 1.102 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.7534, allocations: 53.72 kB / 1.102 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.7535, allocations: 9.734 kB / 1.102 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.7535, allocations: 3.938 kB / 1.102 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1489/0.9024, allocations: 3.722 MB / 1.105 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.966, allocations: 5.031 kB / 1.105 GB, free: 8.012 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat does not exist to compare? outputFormat=mat