Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.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.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_9_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_9_Buildings_Obsolete_Utilities_IO_Python36_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.285/2.285, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001566/0.001567, allocations: 192.6 kB / 487.4 MB, free: 5.055 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.602/1.602, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 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.00102/0.00102, allocations: 96.77 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.92e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.28, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.291, allocations: 151.5 MB / 1.354 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/1.292, allocations: 100.9 kB / 1.354 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02632/1.318, allocations: 10.68 MB / 1.365 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/1.318, allocations: 0 / 1.365 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.618e-06/1.318, allocations: 0 / 1.365 GB, free: 33.16 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.0005173/1.318, allocations: 436.9 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.319, allocations: 7.656 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.308e-05/1.319, allocations: 82.91 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/1.319, allocations: 257.2 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/1.319, allocations: 150.6 kB / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-05/1.319, allocations: 154.4 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.585e-05/1.319, allocations: 150.6 kB / 1.366 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.717e-05/1.319, allocations: 112.9 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/1.319, allocations: 79.22 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/1.319, allocations: 150.6 kB / 1.366 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.165e-05/1.319, allocations: 150.6 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/1.32, allocations: 458.9 kB / 1.367 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.08e-05/1.32, allocations: 169.1 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/1.32, allocations: 80.14 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/1.32, allocations: 79.22 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/1.32, allocations: 112.7 kB / 1.367 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/1.32, allocations: 3.938 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.87e-05/1.32, allocations: 37.52 kB / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/1.32, allocations: 55.28 kB / 1.367 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/1.32, allocations: 131.3 kB / 1.367 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/1.32, allocations: 29.67 kB / 1.367 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/1.32, allocations: 90.11 kB / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/1.32, allocations: 0 / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/1.32, allocations: 3.969 kB / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.32, allocations: 314 kB / 1.368 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/1.32, allocations: 61.69 kB / 1.368 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.233e-05/1.321, allocations: 54.28 kB / 1.368 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/1.321, allocations: 63.86 kB / 1.368 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.321, allocations: 3.953 kB / 1.368 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000383/1.321, allocations: 190.6 kB / 1.368 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/1.321, allocations: 43 kB / 1.368 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.321, allocations: 0 / 1.368 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.321, allocations: 0 / 1.368 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/1.321, allocations: 0 / 1.368 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/1.321, allocations: 0 / 1.368 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/1.321, allocations: 22.56 kB / 1.368 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/1.321, allocations: 17.89 kB / 1.368 GB, free: 29.83 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.0001195/1.322, allocations: 183 kB / 1.368 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.381e-05/1.322, allocations: 142.2 kB / 1.368 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/1.322, allocations: 112.7 kB / 1.369 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/1.322, allocations: 111.8 kB / 1.369 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.167e-05/1.322, allocations: 180.3 kB / 1.369 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.532e-05/1.322, allocations: 184 kB / 1.369 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.945e-05/1.322, allocations: 183.5 kB / 1.369 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/1.322, allocations: 395.6 kB / 1.37 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-05/1.322, allocations: 104.9 kB / 1.37 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/1.322, allocations: 107.9 kB / 1.37 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.556e-05/1.322, allocations: 180.3 kB / 1.37 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/1.322, allocations: 188.1 kB / 1.37 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.464e-05/1.322, allocations: 176.3 kB / 1.37 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-05/1.323, allocations: 179.3 kB / 1.37 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/1.323, allocations: 311 kB / 1.371 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/1.323, allocations: 196.4 kB / 1.371 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/1.323, allocations: 180.2 kB / 1.371 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/1.323, allocations: 101 kB / 1.371 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/1.323, allocations: 183 kB / 1.371 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/1.323, allocations: 108.9 kB / 1.372 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.659e-05/1.323, allocations: 111.6 kB / 1.372 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.323, allocations: 0 / 1.372 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004368/1.323, allocations: 91.59 kB / 1.372 GB, free: 26.16 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.0009839/1.324, allocations: 1.049 MB / 1.373 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000214/1.325, allocations: 201.2 kB / 1.373 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.325, allocations: 3.844 kB / 1.373 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/1.325, allocations: 2.719 kB / 1.373 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/1.325, allocations: 0.5258 MB / 1.373 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/1.326, allocations: 260.9 kB / 1.374 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/1.326, allocations: 0.6816 MB / 1.374 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.573e-05/1.326, allocations: 49.81 kB / 1.374 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/1.326, allocations: 18.5 kB / 1.374 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.326, allocations: 0 / 1.374 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/1.35, allocations: 2.982 MB / 1.377 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.35, allocations: 221.7 kB / 1.378 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.964, allocations: 0 / 1.378 GB, free: 23.15 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_9_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_Exchange.fmu > Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)