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.004558/0.004558, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.001099/0.001099, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.598/2.598, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 64.11 kB / 1.054 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9261/0.9275, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002098/0.9297, allocations: 0.554 MB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.9316, allocations: 1.191 MB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.9317, allocations: 4 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.9318, allocations: 7.938 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/0.9319, allocations: 0 / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007808/0.9327, allocations: 279.3 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.9329, allocations: 71.86 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.9329, allocations: 4 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.508e-05/0.933, allocations: 47.89 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.9331, allocations: 43.89 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.9331, allocations: 7.938 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.9336, allocations: 199.7 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.9337, allocations: 11.94 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.9337, allocations: 35.78 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.9342, allocations: 251.5 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9342, allocations: 0 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9342, allocations: 0 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.9342, allocations: 3.938 kB / 1.21 GB, free: 10.87 MB / 0.9356 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.000514/0.9347, allocations: 447.3 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.9348, allocations: 8.031 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.9348, allocations: 110 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.935, allocations: 88.22 kB / 1.21 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.9351, allocations: 255.6 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.9352, allocations: 158.9 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.9353, allocations: 158.9 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.006e-05/0.9354, allocations: 108.9 kB / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.9354, allocations: 75.28 kB / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.9355, allocations: 150.6 kB / 1.211 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.275e-05/0.9355, allocations: 150.6 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.853e-05/0.9356, allocations: 154.5 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.9359, allocations: 473.9 kB / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.936, allocations: 177.2 kB / 1.212 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.9361, allocations: 80.14 kB / 1.212 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.9361, allocations: 79.22 kB / 1.212 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.9362, allocations: 109.8 kB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.9362, allocations: 3.938 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001196/0.9363, allocations: 37.61 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.9364, allocations: 126.7 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.9366, allocations: 145.7 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.9366, allocations: 29.7 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.9367, allocations: 92.08 kB / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.9367, allocations: 0 / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.9368, allocations: 45.69 kB / 1.213 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.9369, allocations: 318.8 kB / 1.213 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.937, allocations: 59.94 kB / 1.213 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.9372, allocations: 67.94 kB / 1.213 GB, free: 7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.9373, allocations: 90.47 kB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9373, allocations: 0 / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003993/0.9377, allocations: 231.2 kB / 1.214 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.9378, allocations: 45.69 kB / 1.214 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9378, allocations: 0 / 1.214 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.9378, allocations: 4.062 kB / 1.214 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.9378, allocations: 0 / 1.214 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.9378, allocations: 0 / 1.214 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.9382, allocations: 31.81 kB / 1.214 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.9382, allocations: 12 kB / 1.214 GB, free: 6.566 MB / 0.9356 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.0001416/0.9383, allocations: 197.1 kB / 1.214 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.9384, allocations: 116.8 kB / 1.214 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.9385, allocations: 112.5 kB / 1.214 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.432e-05/0.9386, allocations: 184.2 kB / 1.214 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.809e-05/0.9387, allocations: 180.2 kB / 1.215 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.61e-05/0.9388, allocations: 180.4 kB / 1.215 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.939, allocations: 421.2 kB / 1.215 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.677e-05/0.9391, allocations: 112.9 kB / 1.215 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.9391, allocations: 101 kB / 1.215 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-05/0.9392, allocations: 184.2 kB / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/0.9393, allocations: 176.3 kB / 1.216 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001047/0.9394, allocations: 184.2 kB / 1.216 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-05/0.9395, allocations: 176.3 kB / 1.216 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.9397, allocations: 319.7 kB / 1.216 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-05/0.9398, allocations: 190 kB / 1.217 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/0.9399, allocations: 184.2 kB / 1.217 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.94, allocations: 105 kB / 1.217 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/0.9401, allocations: 184.2 kB / 1.217 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.9402, allocations: 101 kB / 1.217 GB, free: 3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.435e-05/0.9403, allocations: 110.2 kB / 1.217 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9403, allocations: 0 / 1.217 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004342/0.9407, allocations: 71.89 kB / 1.217 GB, free: 2.824 MB / 0.9356 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.00761/0.9483, allocations: 1.032 MB / 1.218 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003272/0.9487, allocations: 215.3 kB / 1.218 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9487, allocations: 0 / 1.218 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-06/0.9487, allocations: 0 / 1.218 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.9491, allocations: 459.7 kB / 1.219 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.951, allocations: 1.858 MB / 1.221 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.9512, allocations: 0.6808 MB / 1.221 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.137e-05/0.9513, allocations: 59.73 kB / 1.221 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.9514, allocations: 7.438 kB / 1.221 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.9514, allocations: 4 kB / 1.221 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.9741, allocations: 3.748 MB / 1.225 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.718, allocations: 10.27 kB / 1.225 GB, free: 10.77 MB / 0.9512 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