Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.572/2.572, allocations: 390.5 MB / 398 MB, free: 10.93 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.001438/0.001438, allocations: 183.7 kB / 491.2 MB, free: 1.598 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.982/1.982, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 99.72 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.71e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.297, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.609, allocations: 152.3 MB / 1.361 GB, free: 17.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/1.609, allocations: 95.7 kB / 1.361 GB, free: 17.61 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02745/1.636, allocations: 10.67 MB / 1.372 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.043e-06/1.637, allocations: 0 / 1.372 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.123e-05/1.637, allocations: 0 / 1.372 GB, free: 32.7 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.0005972/1.637, allocations: 424.2 kB / 1.372 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/1.637, allocations: 11.53 kB / 1.372 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/1.637, allocations: 98.08 kB / 1.372 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/1.638, allocations: 251.8 kB / 1.372 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/1.638, allocations: 150.6 kB / 1.373 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/1.638, allocations: 158.2 kB / 1.373 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.121e-05/1.638, allocations: 150.6 kB / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.776e-05/1.638, allocations: 108.1 kB / 1.373 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/1.638, allocations: 79.28 kB / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/1.638, allocations: 154.5 kB / 1.373 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.147e-05/1.638, allocations: 157.6 kB / 1.373 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/1.638, allocations: 453.5 kB / 1.374 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.983e-05/1.638, allocations: 173 kB / 1.374 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/1.639, allocations: 80.14 kB / 1.374 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/1.639, allocations: 75.28 kB / 1.374 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/1.639, allocations: 112.4 kB / 1.374 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/1.639, allocations: 0 / 1.374 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001162/1.639, allocations: 37.27 kB / 1.374 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/1.639, allocations: 51.41 kB / 1.374 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/1.639, allocations: 136.1 kB / 1.374 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/1.639, allocations: 29.58 kB / 1.374 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/1.639, allocations: 90.58 kB / 1.375 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/1.639, allocations: 0 / 1.375 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/1.639, allocations: 0 / 1.375 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.639, allocations: 321.9 kB / 1.375 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-05/1.639, allocations: 57.48 kB / 1.375 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.805e-05/1.639, allocations: 56.09 kB / 1.375 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/1.64, allocations: 66.36 kB / 1.375 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/1.64, allocations: 0 / 1.375 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004135/1.64, allocations: 181.4 kB / 1.375 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/1.64, allocations: 52.22 kB / 1.375 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.64, allocations: 3.938 kB / 1.375 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.64, allocations: 0 / 1.375 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/1.64, allocations: 0 / 1.375 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/1.64, allocations: 0 / 1.375 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/1.64, allocations: 22.42 kB / 1.375 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/1.64, allocations: 14.02 kB / 1.375 GB, free: 29.38 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.000145/1.641, allocations: 187.9 kB / 1.375 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.662e-05/1.641, allocations: 148.7 kB / 1.376 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/1.641, allocations: 108.8 kB / 1.376 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/1.641, allocations: 111.6 kB / 1.376 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.744e-05/1.641, allocations: 176.3 kB / 1.376 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.913e-05/1.641, allocations: 184.2 kB / 1.376 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/1.641, allocations: 179.8 kB / 1.376 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/1.641, allocations: 401.9 kB / 1.377 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.251e-05/1.642, allocations: 104.9 kB / 1.377 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/1.642, allocations: 101 kB / 1.377 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.46e-05/1.642, allocations: 183.3 kB / 1.377 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.585e-05/1.642, allocations: 192 kB / 1.377 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.849e-05/1.642, allocations: 176.3 kB / 1.377 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.439e-05/1.642, allocations: 176.3 kB / 1.378 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/1.642, allocations: 314.1 kB / 1.378 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/1.642, allocations: 199.9 kB / 1.378 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.642, allocations: 180.2 kB / 1.378 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.668e-05/1.642, allocations: 104.9 kB / 1.378 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/1.643, allocations: 176.3 kB / 1.379 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/1.643, allocations: 104.9 kB / 1.379 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.76e-05/1.643, allocations: 105.9 kB / 1.379 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/1.643, allocations: 0 / 1.379 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005291/1.643, allocations: 90.48 kB / 1.379 GB, free: 25.7 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.001238/1.644, allocations: 1.043 MB / 1.38 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002508/1.645, allocations: 213.2 kB / 1.38 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.645, allocations: 0 / 1.38 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/1.645, allocations: 0 / 1.38 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/1.645, allocations: 0.5217 MB / 1.381 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/1.646, allocations: 263.7 kB / 1.381 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/1.646, allocations: 0.6826 MB / 1.381 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.725e-05/1.646, allocations: 49.73 kB / 1.382 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/1.646, allocations: 14.72 kB / 1.382 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/1.646, allocations: 0 / 1.382 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/1.677, allocations: 2.987 MB / 1.384 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/1.678, allocations: 216.8 kB / 1.385 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/3.616, allocations: 0 / 1.385 GB, free: 22.69 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_Exchange.fmu > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)