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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 108 kB / 15.61 MB, free: 152 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.001149/0.001149, allocations: 194.2 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 67.44 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1969, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002683/0.1996, allocations: 1.665 MB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.2016, allocations: 1.413 MB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.2017, allocations: 4 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.2021, allocations: 83.52 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.2022, allocations: 71.58 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.2029, allocations: 283.1 kB / 0.7869 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.2032, allocations: 187.2 kB / 0.7871 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.2032, allocations: 9.5 kB / 0.7871 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.2033, allocations: 71.7 kB / 0.7872 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.2035, allocations: 91.59 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.2035, allocations: 8 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.204, allocations: 343.4 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.2041, allocations: 63.8 kB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.29e-05/0.2042, allocations: 99.39 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.2047, allocations: 390.9 kB / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2047, allocations: 3.938 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2047, allocations: 0 / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2047, allocations: 0 / 0.7881 GB, free: 8.605 MB / 0.6075 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.0008217/0.2055, allocations: 0.5568 MB / 0.7887 GB, free: 8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2056, allocations: 8.031 kB / 0.7887 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.2056, allocations: 38.75 kB / 0.7887 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.2057, allocations: 20.66 kB / 0.7887 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.206, allocations: 275.7 kB / 0.789 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.2062, allocations: 59.95 kB / 0.789 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2062, allocations: 12.25 kB / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.2064, allocations: 89.59 kB / 0.7891 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2064, allocations: 0 / 0.7891 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2064, allocations: 4 kB / 0.7891 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2064, allocations: 4 kB / 0.7891 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.2067, allocations: 99.92 kB / 0.7892 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.2069, allocations: 245.5 kB / 0.7895 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.2083, allocations: 298.3 kB / 0.7898 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.2084, allocations: 64.81 kB / 0.7898 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.2086, allocations: 112.9 kB / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.2086, allocations: 30.56 kB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.2086, allocations: 0 / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004941/0.2091, allocations: 209.3 kB / 0.7902 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.2092, allocations: 51.41 kB / 0.7902 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.2095, allocations: 299.2 kB / 0.7905 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.2095, allocations: 25.7 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.2096, allocations: 124.5 kB / 0.7906 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.2096, allocations: 19.73 kB / 0.7907 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.2097, allocations: 61.62 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2098, allocations: 338.8 kB / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.2101, allocations: 152.2 kB / 0.7912 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.2103, allocations: 163.7 kB / 0.7913 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.2107, allocations: 298.3 kB / 0.7916 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2107, allocations: 3.938 kB / 0.7916 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000576/0.2113, allocations: 393 kB / 0.792 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2113, allocations: 11.98 kB / 0.792 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.2113, allocations: 0 / 0.792 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2113, allocations: 0 / 0.792 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.2115, allocations: 19.94 kB / 0.792 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2115, allocations: 0 / 0.792 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2116, allocations: 35.52 kB / 0.7921 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2116, allocations: 4 kB / 0.7921 GB, free: 4.281 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.2117, allocations: 126.5 kB / 0.7922 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.2118, allocations: 23.66 kB / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.2121, allocations: 175.3 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2122, allocations: 4 kB / 0.7924 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2122, allocations: 3.938 kB / 0.7924 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2122, allocations: 3.938 kB / 0.7924 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.2124, allocations: 233.6 kB / 0.7926 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2124, allocations: 3.938 kB / 0.7926 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.192e-05/0.2125, allocations: 16 kB / 0.7926 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2125, allocations: 0 / 0.7926 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2125, allocations: 3.984 kB / 0.7926 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2125, allocations: 0 / 0.7926 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2125, allocations: 4 kB / 0.7926 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.2128, allocations: 176.8 kB / 0.7928 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.2129, allocations: 108.8 kB / 0.7929 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.2129, allocations: 0 / 0.7929 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.213, allocations: 8.109 kB / 0.7929 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.2131, allocations: 11.94 kB / 0.7929 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.2131, allocations: 7.984 kB / 0.7929 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001661/0.2133, allocations: 193.9 kB / 0.7931 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2133, allocations: 0 / 0.7931 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004036/0.2137, allocations: 119.9 kB / 0.7932 GB, free: 2.984 MB / 0.6075 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 (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.001015/0.2147, allocations: 0.8814 MB / 0.7941 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.2153, allocations: 359.2 kB / 0.7944 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2153, allocations: 0 / 0.7944 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.2154, allocations: 67.95 kB / 0.7945 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2157, allocations: 35.17 kB / 0.7945 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.2188, allocations: 2.676 MB / 0.7971 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.2191, allocations: 0.7435 MB / 0.7979 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.01e-05/0.2192, allocations: 13.08 kB / 0.7979 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.2193, allocations: 59.41 kB / 0.7979 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of SimCode: time 4e-07/0.2193, allocations: 4 kB / 0.7979 GB, free: 14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.2474, allocations: 5.739 MB / 0.8036 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.663, allocations: 11.33 kB / 0.8036 GB, free: 8.422 MB / 0.6231 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/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)