Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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.0008231/0.0008232, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005069/0.005069, allocations: 170.4 kB / 16.27 MB, free: 6.66 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.379/1.379, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.622/1.622, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004877/0.0004877, allocations: 20.66 kB / 0.6744 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2015, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001104/0.2027, allocations: 0.9469 MB / 0.7889 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.2029, allocations: 51.83 kB / 0.789 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.2029, allocations: 0 / 0.789 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.203, allocations: 3.938 kB / 0.789 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.2031, allocations: 11.98 kB / 0.789 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.2032, allocations: 7.984 kB / 0.789 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.849e-05/0.2033, allocations: 35.89 kB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.2033, allocations: 4 kB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.2033, allocations: 7.938 kB / 0.789 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.2034, allocations: 17.48 kB / 0.7891 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.2034, allocations: 0 / 0.7891 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.619e-05/0.2035, allocations: 11.92 kB / 0.7891 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.2035, allocations: 44.45 kB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.2036, allocations: 69.39 kB / 0.7892 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.761e-05/0.2037, allocations: 75.86 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.2037, allocations: 0 / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2037, allocations: 0 / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.2037, allocations: 0 / 0.7892 GB, free: 10.21 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003112/0.204, allocations: 410.9 kB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.2041, allocations: 8.031 kB / 0.7896 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.2041, allocations: 106 kB / 0.7897 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.2042, allocations: 84.12 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.2043, allocations: 282.5 kB / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.2044, allocations: 150.6 kB / 0.7902 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.2044, allocations: 150.6 kB / 0.7904 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.537e-05/0.2045, allocations: 105 kB / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.2045, allocations: 79.22 kB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.2046, allocations: 158.6 kB / 0.7907 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/0.2046, allocations: 154.6 kB / 0.7909 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.2047, allocations: 150.6 kB / 0.791 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.205, allocations: 0.4899 MB / 0.7915 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.592e-05/0.205, allocations: 173.1 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.2051, allocations: 84.08 kB / 0.7917 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.2051, allocations: 75.28 kB / 0.7918 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.2051, allocations: 105.8 kB / 0.7919 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.2051, allocations: 0 / 0.7919 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.471e-05/0.2052, allocations: 37.52 kB / 0.7919 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.2053, allocations: 126.7 kB / 0.7921 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.2055, allocations: 231.1 kB / 0.7923 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.2055, allocations: 25.7 kB / 0.7923 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.2056, allocations: 112 kB / 0.7924 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.2056, allocations: 0 / 0.7924 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.2056, allocations: 29.7 kB / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.2057, allocations: 326.8 kB / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.2058, allocations: 59.89 kB / 0.7928 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.2059, allocations: 62.34 kB / 0.7929 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.206, allocations: 136.8 kB / 0.793 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.206, allocations: 0 / 0.793 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002918/0.2063, allocations: 184.7 kB / 0.7932 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2063, allocations: 7.938 kB / 0.7932 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2064, allocations: 0 / 0.7932 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.2064, allocations: 0 / 0.7932 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.2064, allocations: 0 / 0.7932 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2064, allocations: 0 / 0.7932 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.2064, allocations: 23.67 kB / 0.7932 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.2065, allocations: 8 kB / 0.7932 GB, free: 5.91 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 prepare postOptimizeDAE: time 9.866e-05/0.2066, allocations: 205.7 kB / 0.7934 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.2066, allocations: 112.9 kB / 0.7935 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.2067, allocations: 117.5 kB / 0.7936 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.226e-05/0.2067, allocations: 184.2 kB / 0.7938 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.642e-05/0.2068, allocations: 180.2 kB / 0.794 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.528e-05/0.2069, allocations: 189.2 kB / 0.7941 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.2071, allocations: 433.2 kB / 0.7946 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/0.2071, allocations: 101 kB / 0.7947 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.2072, allocations: 108.9 kB / 0.7948 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.377e-05/0.2072, allocations: 180.3 kB / 0.7949 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/0.2073, allocations: 184.2 kB / 0.7951 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.231e-05/0.2073, allocations: 184.3 kB / 0.7953 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.033e-05/0.2074, allocations: 176.3 kB / 0.7955 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.2075, allocations: 327.8 kB / 0.7958 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.2076, allocations: 193.8 kB / 0.796 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.2077, allocations: 180.3 kB / 0.7961 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.2077, allocations: 101 kB / 0.7962 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.2078, allocations: 188.2 kB / 0.7964 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.2078, allocations: 104.9 kB / 0.7965 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001137/0.208, allocations: 160.6 kB / 0.7967 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.208, allocations: 0 / 0.7967 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002282/0.2082, allocations: 16 kB / 0.7967 GB, free: 2.145 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 (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.0003585/0.2086, allocations: 0.8281 MB / 0.7975 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.2087, allocations: 79.95 kB / 0.7976 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2087, allocations: 0 / 0.7976 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.2087, allocations: 0 / 0.7976 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.2091, allocations: 0.5329 MB / 0.7981 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.2109, allocations: 2.128 MB / 0.8002 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.2112, allocations: 0.7121 MB / 0.8008 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.2112, allocations: 7.984 kB / 0.8009 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.2113, allocations: 35.42 kB / 0.8009 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.2113, allocations: 0 / 0.8009 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/0.2226, allocations: 2.528 MB / 0.8034 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.2228, allocations: 216.8 kB / 0.8036 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.84, allocations: 3.312 kB / 0.8036 GB, free: 11.04 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)