Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.126/2.126, allocations: 292.6 MB / 307.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 179.4 kB / 377.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 0.6366 GB, free: 8.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 88.02 kB / 0.7509 GB, free: 63.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004249, allocations: 12 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2564, allocations: 116.3 MB / 0.9884 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.609/0.8655, allocations: 144.4 MB / 1.129 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.8658, allocations: 95.44 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02133/0.8871, allocations: 7.743 MB / 1.137 GB, free: 26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8872, allocations: 0 / 1.137 GB, free: 26 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.8872, allocations: 4.844 kB / 1.137 GB, free: 26 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008537/0.888, allocations: 0.5671 MB / 1.138 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8881, allocations: 12.67 kB / 1.138 GB, free: 25.4 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.8881, allocations: 35.31 kB / 1.138 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.8882, allocations: 22.28 kB / 1.138 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.8888, allocations: 324.1 kB / 1.138 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.122e-05/0.8889, allocations: 68.86 kB / 1.138 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.8889, allocations: 4 kB / 1.138 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.8891, allocations: 93.75 kB / 1.138 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.8891, allocations: 1.734 kB / 1.138 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.8892, allocations: 11.94 kB / 1.138 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.8892, allocations: 0.7031 kB / 1.138 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.8895, allocations: 118.9 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.8897, allocations: 245.4 kB / 1.139 GB, free: 24.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.8912, allocations: 352.5 kB / 1.139 GB, free: 24.24 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.8914, allocations: 102.8 kB / 1.139 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.8914, allocations: 35.22 kB / 1.139 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.8914, allocations: 0 / 1.139 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005585/0.892, allocations: 232.2 kB / 1.139 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.892, allocations: 61.09 kB / 1.139 GB, free: 23.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.8923, allocations: 263.5 kB / 1.14 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.8923, allocations: 29.7 kB / 1.14 GB, free: 23.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.8924, allocations: 120.1 kB / 1.14 GB, free: 23.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.8924, allocations: 17.02 kB / 1.14 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.8925, allocations: 4 kB / 1.14 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.681e-05/0.8925, allocations: 337.6 kB / 1.14 GB, free: 23.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.8927, allocations: 137.3 kB / 1.14 GB, free: 22.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.8929, allocations: 141.9 kB / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.8931, allocations: 157.4 kB / 1.14 GB, free: 22.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.8932, allocations: 4.609 kB / 1.14 GB, free: 22.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004737/0.8936, allocations: 363.9 kB / 1.141 GB, free: 22.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.8937, allocations: 9.734 kB / 1.141 GB, free: 22.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.8937, allocations: 4 kB / 1.141 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8937, allocations: 5.422 kB / 1.141 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.8938, allocations: 18.62 kB / 1.141 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8938, allocations: 0.5625 kB / 1.141 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.894, allocations: 33.59 kB / 1.141 GB, free: 22.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.894, allocations: 9.312 kB / 1.141 GB, free: 22.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.917e-05/0.8941, allocations: 131.3 kB / 1.141 GB, free: 22.19 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.8941, allocations: 24.92 kB / 1.141 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.8945, allocations: 211.1 kB / 1.141 GB, free: 22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8946, allocations: 1.078 kB / 1.141 GB, free: 22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8946, allocations: 0.6875 kB / 1.141 GB, free: 22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.8946, allocations: 4.609 kB / 1.141 GB, free: 21.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.8947, allocations: 227.1 kB / 1.141 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.8948, allocations: 0 / 1.141 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.966e-05/0.8949, allocations: 27.88 kB / 1.141 GB, free: 21.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8949, allocations: 0.8125 kB / 1.141 GB, free: 21.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8949, allocations: 0.75 kB / 1.141 GB, free: 21.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8949, allocations: 0 / 1.141 GB, free: 21.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.8949, allocations: 4 kB / 1.141 GB, free: 21.72 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.8952, allocations: 200.6 kB / 1.142 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.8953, allocations: 111.6 kB / 1.142 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.8954, allocations: 4.609 kB / 1.142 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.8955, allocations: 5.828 kB / 1.142 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.8955, allocations: 17.3 kB / 1.142 GB, free: 21.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.8955, allocations: 8.516 kB / 1.142 GB, free: 21.39 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001455/0.8957, allocations: 191.5 kB / 1.142 GB, free: 21.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8957, allocations: 0 / 1.142 GB, free: 21.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005059/0.8962, allocations: 139.9 kB / 1.142 GB, free: 21.09 MB / 0.7292 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 (6): * Single equations (assignments): 6 * 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.0007656/0.897, allocations: 0.8449 MB / 1.143 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000477/0.8975, allocations: 368.1 kB / 1.143 GB, free: 19.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8975, allocations: 0 / 1.143 GB, free: 19.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.8976, allocations: 64.66 kB / 1.143 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.8979, allocations: 45.8 kB / 1.143 GB, free: 19.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008866/0.8988, allocations: 0.7224 MB / 1.144 GB, free: 19.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.899, allocations: 0.7479 MB / 1.145 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.669e-05/0.8991, allocations: 15.47 kB / 1.145 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.8992, allocations: 60.73 kB / 1.145 GB, free: 18.33 MB / 0.7292 GB Notification: Performance of SimCode: time 2e-07/0.8992, allocations: 0 / 1.145 GB, free: 18.33 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.9161, allocations: 5.853 MB / 1.151 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/0.9163, allocations: 201.3 kB / 1.151 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.718, allocations: 0 / 1.151 GB, free: 14.82 MB / 0.7292 GB (rm -f Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)