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.00161/0.00161, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.834/2.834, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 66.05 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3094, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002012/0.3115, allocations: 0.5497 MB / 1.064 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3134, allocations: 1.188 MB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.3135, allocations: 4 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.437e-05/0.3136, allocations: 4 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.85e-05/0.3136, allocations: 3.938 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.3144, allocations: 287.3 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.3146, allocations: 71.81 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.3146, allocations: 4 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.3147, allocations: 43.89 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.3147, allocations: 35.92 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.3148, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.3152, allocations: 191.6 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.3153, allocations: 11.98 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.3153, allocations: 27.86 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.3157, allocations: 251.5 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3157, allocations: 3.938 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3157, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3157, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.8262 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.0004314/0.3162, allocations: 445.3 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3162, allocations: 16.03 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.3163, allocations: 106 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.3164, allocations: 84.2 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3165, allocations: 259.5 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/0.3166, allocations: 154.9 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.3167, allocations: 158.9 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.534e-05/0.3168, allocations: 108.9 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3168, allocations: 75.28 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.3168, allocations: 150.6 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/0.3169, allocations: 154.6 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/0.317, allocations: 150.6 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.3173, allocations: 473.9 kB / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.258e-05/0.3173, allocations: 173.1 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.3174, allocations: 80.14 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3174, allocations: 87.14 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3175, allocations: 105.8 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3175, allocations: 4 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001045/0.3176, allocations: 45.53 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3176, allocations: 126.7 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3178, allocations: 144.2 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3178, allocations: 25.7 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.3179, allocations: 96.03 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/0.3179, allocations: 4 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.318, allocations: 37.7 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.3181, allocations: 322.8 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3182, allocations: 59.95 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.3183, allocations: 63.94 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3184, allocations: 94.58 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3185, allocations: 0 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003831/0.3188, allocations: 231.1 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.3189, allocations: 45.69 kB / 1.07 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3189, allocations: 4 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.3189, allocations: 0 / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.3189, allocations: 4.062 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3189, allocations: 0 / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.3193, allocations: 23.88 kB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.3193, allocations: 15.98 kB / 1.07 GB, free: 7.539 MB / 0.8262 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.0001159/0.3194, allocations: 193.1 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.3195, allocations: 120.8 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.3196, allocations: 116.5 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.635e-05/0.3196, allocations: 180.3 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.889e-05/0.3197, allocations: 184.1 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-05/0.3197, allocations: 184.2 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.32, allocations: 409.2 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.784e-05/0.32, allocations: 112.9 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.32, allocations: 109 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.743e-05/0.3201, allocations: 180.2 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.3202, allocations: 176.3 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.983e-05/0.3202, allocations: 184.2 kB / 1.072 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.432e-05/0.3203, allocations: 188.2 kB / 1.072 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.3204, allocations: 307.7 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.3205, allocations: 190 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.3206, allocations: 180.3 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.3207, allocations: 104.9 kB / 1.073 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.3207, allocations: 176.3 kB / 1.073 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.3208, allocations: 116.9 kB / 1.073 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.082e-05/0.3209, allocations: 108.2 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3209, allocations: 0 / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003652/0.3212, allocations: 71.89 kB / 1.074 GB, free: 3.801 MB / 0.8262 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.0009415/0.3222, allocations: 1.031 MB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.3225, allocations: 219.3 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3225, allocations: 0 / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.3225, allocations: 0 / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3228, allocations: 455.7 kB / 1.075 GB, free: 2.141 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.3246, allocations: 1.866 MB / 1.077 GB, free: 192 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.3248, allocations: 0.6807 MB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.483e-05/0.3249, allocations: 47.86 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.3249, allocations: 15.44 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.325, allocations: 0 / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5662/0.8912, allocations: 3.681 MB / 1.081 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/8.355, allocations: 5.438 kB / 1.081 GB, free: 11.83 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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)