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.005812/0.005811, allocations: 103.2 kB / 15.73 MB, free: 6.012 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.001227/0.001227, allocations: 195 kB / 16.67 MB, free: 5.938 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.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.328/2.328, allocations: 390.3 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 61.28 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3315, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002558/0.3341, allocations: 0.5428 MB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.3362, allocations: 1.192 MB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.3363, allocations: 0 / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.3365, allocations: 8 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.251e-05/0.3366, allocations: 3.938 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000986/0.3376, allocations: 281.4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.3378, allocations: 75.81 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.3378, allocations: 4 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.3379, allocations: 43.84 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.3381, allocations: 43.89 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.3381, allocations: 8 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.3386, allocations: 211.6 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.3387, allocations: 4 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.3387, allocations: 31.84 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004968/0.3393, allocations: 251.5 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3393, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3393, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3393, allocations: 0 / 1.09 GB, free: 15.29 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.0006041/0.3399, allocations: 443.9 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.34, allocations: 8.031 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.251e-05/0.34, allocations: 110 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3402, allocations: 92.2 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3404, allocations: 251.6 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.862e-05/0.3405, allocations: 150.9 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.993e-05/0.3406, allocations: 158.9 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.443e-05/0.3407, allocations: 112.9 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.3407, allocations: 79.28 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.119e-05/0.3408, allocations: 150.6 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.356e-05/0.3409, allocations: 150.6 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.244e-05/0.341, allocations: 162.5 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.3413, allocations: 465.9 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.3415, allocations: 177.1 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.3415, allocations: 80.14 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.3416, allocations: 79.22 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.3416, allocations: 105.8 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3416, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001318/0.3418, allocations: 41.69 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.3418, allocations: 126.7 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3421, allocations: 142.5 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.3421, allocations: 29.7 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.3422, allocations: 96.03 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/0.3422, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/0.3423, allocations: 45.64 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3425, allocations: 326.8 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3426, allocations: 55.95 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3427, allocations: 67.94 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3429, allocations: 94.58 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3429, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004582/0.3434, allocations: 227.2 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.3434, allocations: 45.69 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3435, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3435, allocations: 4 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-06/0.3435, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3435, allocations: 4.062 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.3438, allocations: 31.75 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.3439, allocations: 15.98 kB / 1.094 GB, free: 10.98 MB / 0.8575 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.0001623/0.3441, allocations: 193.1 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3442, allocations: 116.8 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.215e-05/0.3443, allocations: 112.6 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-05/0.3444, allocations: 184.2 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.662e-05/0.3445, allocations: 180.3 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-05/0.3446, allocations: 184.2 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.3449, allocations: 409.2 kB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-05/0.3449, allocations: 104.9 kB / 1.095 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.345, allocations: 108.9 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.3451, allocations: 180.3 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.3452, allocations: 188.2 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.462e-05/0.3453, allocations: 180.2 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.189e-05/0.3454, allocations: 180.3 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.3456, allocations: 315.7 kB / 1.097 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.3457, allocations: 190 kB / 1.097 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3458, allocations: 180.3 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3459, allocations: 101 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.346, allocations: 180.2 kB / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.3461, allocations: 105 kB / 1.097 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.266e-05/0.3462, allocations: 113.6 kB / 1.097 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3462, allocations: 0 / 1.097 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004976/0.3467, allocations: 71.92 kB / 1.097 GB, free: 7.254 MB / 0.8575 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.001202/0.3479, allocations: 1.041 MB / 1.098 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.3483, allocations: 211.3 kB / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3483, allocations: 4.062 kB / 1.099 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-06/0.3483, allocations: 0 / 1.099 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.3487, allocations: 463.6 kB / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.3508, allocations: 1.854 MB / 1.101 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3511, allocations: 0.6807 MB / 1.102 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.8e-05/0.3512, allocations: 48.05 kB / 1.102 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.3513, allocations: 11.44 kB / 1.102 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3513, allocations: 0 / 1.102 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.3798, allocations: 3.751 MB / 1.105 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.832, allocations: 13.5 kB / 1.105 GB, free: 15.16 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