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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 172.8 kB / 487.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.0008604, allocations: 103.8 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.99e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2937, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.353, allocations: 151 MB / 1.354 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/1.353, allocations: 83.77 kB / 1.354 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02564/1.379, allocations: 10.04 MB / 1.363 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/1.379, allocations: 0 / 1.363 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.685e-06/1.379, allocations: 3.844 kB / 1.363 GB, free: 33.19 MB / 0.8386 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.0004814/1.379, allocations: 426.4 kB / 1.364 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.379, allocations: 15.69 kB / 1.364 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/1.38, allocations: 83.12 kB / 1.364 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/1.38, allocations: 255.2 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/1.38, allocations: 150.6 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/1.38, allocations: 158.3 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.927e-05/1.38, allocations: 150.6 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.869e-05/1.38, allocations: 105 kB / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/1.38, allocations: 75.28 kB / 1.365 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/1.38, allocations: 153.8 kB / 1.365 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/1.38, allocations: 154.5 kB / 1.365 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/1.38, allocations: 460.3 kB / 1.365 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/1.381, allocations: 169.1 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.347e-05/1.381, allocations: 84.19 kB / 1.366 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/1.381, allocations: 75.28 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/1.381, allocations: 109 kB / 1.366 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/1.381, allocations: 0 / 1.366 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.456e-05/1.381, allocations: 36.7 kB / 1.366 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/1.381, allocations: 59.34 kB / 1.366 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/1.381, allocations: 132.5 kB / 1.366 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/1.381, allocations: 29.55 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/1.381, allocations: 93.75 kB / 1.366 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/1.381, allocations: 0 / 1.366 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/1.381, allocations: 3.812 kB / 1.366 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.381, allocations: 314.8 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/1.381, allocations: 56.22 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/1.381, allocations: 60.12 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/1.382, allocations: 66.73 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.382, allocations: 3.953 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000372/1.382, allocations: 180.8 kB / 1.367 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/1.382, allocations: 43.72 kB / 1.367 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.382, allocations: 3.812 kB / 1.367 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.382, allocations: 2.672 kB / 1.367 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/1.382, allocations: 0 / 1.367 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/1.382, allocations: 0 / 1.367 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/1.382, allocations: 22.5 kB / 1.367 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/1.382, allocations: 14.56 kB / 1.367 GB, free: 29.87 MB / 0.8386 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 (yI1[1],yI2[1],yI2[2]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.383, allocations: 184 kB / 1.367 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.518e-05/1.383, allocations: 145.1 kB / 1.367 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/1.383, allocations: 116.6 kB / 1.367 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/1.383, allocations: 108.9 kB / 1.368 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.906e-05/1.383, allocations: 183.7 kB / 1.368 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.12e-05/1.383, allocations: 176.3 kB / 1.368 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-05/1.383, allocations: 180.2 kB / 1.368 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/1.383, allocations: 395 kB / 1.368 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.283e-05/1.383, allocations: 104.9 kB / 1.368 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/1.383, allocations: 108.5 kB / 1.369 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.819e-05/1.383, allocations: 184.3 kB / 1.369 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/1.383, allocations: 176.3 kB / 1.369 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.619e-05/1.383, allocations: 183.8 kB / 1.369 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.478e-05/1.383, allocations: 180.1 kB / 1.369 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/1.384, allocations: 314.7 kB / 1.37 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.3e-05/1.384, allocations: 199.6 kB / 1.37 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/1.384, allocations: 180.2 kB / 1.37 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/1.384, allocations: 104.9 kB / 1.37 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/1.384, allocations: 179.5 kB / 1.37 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/1.384, allocations: 108.8 kB / 1.37 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.475e-05/1.384, allocations: 105.4 kB / 1.37 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.384, allocations: 3.844 kB / 1.37 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004379/1.384, allocations: 87.72 kB / 1.371 GB, free: 26.2 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/1.385, allocations: 1.042 MB / 1.372 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002231/1.386, allocations: 210.7 kB / 1.372 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.386, allocations: 0 / 1.372 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/1.386, allocations: 0 / 1.372 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/1.386, allocations: 0.5259 MB / 1.372 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/1.387, allocations: 252.9 kB / 1.372 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/1.387, allocations: 0.6866 MB / 1.373 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.401e-05/1.387, allocations: 50.17 kB / 1.373 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/1.387, allocations: 15.22 kB / 1.373 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of SimCode: time 9.41e-07/1.387, allocations: 0 / 1.373 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/1.409, allocations: 2.947 MB / 1.376 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.409, allocations: 210.9 kB / 1.376 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.997, allocations: 7.938 kB / 1.376 GB, free: 23.18 MB / 0.8386 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/linux/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