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.001359/0.001359, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001612/0.001612, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.345/1.345, allocations: 205.1 MB / 222 MB, free: 4.664 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.62/1.62, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.00135/0.00135, allocations: 68.67 kB / 0.6709 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1998, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002137/0.202, allocations: 1.278 MB / 0.784 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002421/0.2022, allocations: 67.8 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.2022, allocations: 0 / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.2023, allocations: 0 / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.2024, allocations: 7.922 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.2025, allocations: 8 kB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.366e-05/0.2026, allocations: 39.89 kB / 0.7842 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.2026, allocations: 0 / 0.7842 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.2027, allocations: 7.938 kB / 0.7842 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.2027, allocations: 13.48 kB / 0.7842 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.2027, allocations: 3.984 kB / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.596e-05/0.2028, allocations: 12 kB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.2029, allocations: 44.44 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.2029, allocations: 43.69 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.203, allocations: 75.88 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2031, allocations: 0 / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.91e-07/0.2031, allocations: 0 / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.2031, allocations: 0 / 0.7843 GB, free: 12.32 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.0003596/0.2034, allocations: 418.8 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2035, allocations: 12.03 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.2035, allocations: 106 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.2036, allocations: 88.03 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.2037, allocations: 278.5 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.2038, allocations: 154.6 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.2038, allocations: 154.5 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.765e-05/0.2039, allocations: 113 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.2039, allocations: 75.28 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.204, allocations: 154.6 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.204, allocations: 150.6 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.2041, allocations: 150.6 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.2043, allocations: 0.4938 MB / 0.7866 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.664e-05/0.2044, allocations: 173.1 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.2044, allocations: 80.14 kB / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.2045, allocations: 75.28 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.2045, allocations: 109.8 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2045, allocations: 4 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.948e-05/0.2046, allocations: 33.61 kB / 0.7871 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.2046, allocations: 130.6 kB / 0.7872 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.2048, allocations: 231 kB / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.2049, allocations: 25.7 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.2049, allocations: 120 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.2049, allocations: 0 / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.205, allocations: 37.69 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.2051, allocations: 334.8 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.2052, allocations: 55.95 kB / 0.7879 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.2052, allocations: 57.66 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.2054, allocations: 133.7 kB / 0.7881 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2054, allocations: 0 / 0.7881 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002561/0.2057, allocations: 180.1 kB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.2057, allocations: 8 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2057, allocations: 4 kB / 0.7883 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.2057, allocations: 0 / 0.7883 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.2057, allocations: 4.062 kB / 0.7883 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2057, allocations: 0 / 0.7883 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.2058, allocations: 15.78 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.2058, allocations: 4 kB / 0.7883 GB, free: 7.988 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 0.0001044/0.2059, allocations: 201.1 kB / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.2059, allocations: 116.8 kB / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.206, allocations: 117.5 kB / 0.7887 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-05/0.2061, allocations: 184.3 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.042e-05/0.2061, allocations: 177.3 kB / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.304e-05/0.2062, allocations: 188.1 kB / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.2064, allocations: 437.2 kB / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/0.2064, allocations: 104.9 kB / 0.7898 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.2064, allocations: 101 kB / 0.7899 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.788e-05/0.2065, allocations: 180.3 kB / 0.7901 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.2066, allocations: 192.2 kB / 0.7902 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-05/0.2066, allocations: 176.3 kB / 0.7904 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.388e-05/0.2067, allocations: 180.2 kB / 0.7906 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.2068, allocations: 327.8 kB / 0.7909 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.2069, allocations: 193.9 kB / 0.7911 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/0.2069, allocations: 180.3 kB / 0.7913 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.207, allocations: 104.9 kB / 0.7914 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.2071, allocations: 180.3 kB / 0.7915 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.2071, allocations: 120.8 kB / 0.7916 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001071/0.2072, allocations: 160.6 kB / 0.7918 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2072, allocations: 0 / 0.7918 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000231/0.2075, allocations: 16 kB / 0.7918 GB, free: 4.211 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.2078, allocations: 0.8204 MB / 0.7926 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.208, allocations: 79.95 kB / 0.7927 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.208, allocations: 3.938 kB / 0.7927 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.208, allocations: 3.938 kB / 0.7927 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.2083, allocations: 0.5263 MB / 0.7932 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.2102, allocations: 2.116 MB / 0.7953 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.2104, allocations: 0.7122 MB / 0.796 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.215e-05/0.2105, allocations: 11.98 kB / 0.796 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.2105, allocations: 27.42 kB / 0.796 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2105, allocations: 3.938 kB / 0.796 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.2349, allocations: 2.606 MB / 0.7986 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/0.2351, allocations: 219.5 kB / 0.7988 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/1.795, allocations: 4.438 kB / 0.7988 GB, free: 13.01 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)