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.001117/0.001117, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.00111/0.00111, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.594/1.594, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005205/0.0005205, allocations: 15.86 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2406, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001274/0.2419, allocations: 0.9336 MB / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000193/0.2421, allocations: 49.62 kB / 0.7882 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.2421, allocations: 0 / 0.7882 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.2422, allocations: 0 / 0.7882 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.2423, allocations: 7.984 kB / 0.7882 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.2425, allocations: 3.984 kB / 0.7882 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.104e-05/0.2425, allocations: 15.92 kB / 0.7882 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.2426, allocations: 8 kB / 0.7882 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.505e-05/0.2426, allocations: 0 / 0.7882 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.2426, allocations: 11.92 kB / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2427, allocations: 0 / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.349e-05/0.2427, allocations: 4 kB / 0.7882 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.2428, allocations: 43.89 kB / 0.7883 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.2428, allocations: 41.64 kB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.773e-05/0.2429, allocations: 48.12 kB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.243, allocations: 4 kB / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.243, allocations: 0 / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.243, allocations: 0 / 0.7884 GB, free: 10.72 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.00044/0.2434, allocations: 402.8 kB / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.2435, allocations: 16.02 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.2435, allocations: 105.8 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.2436, allocations: 91.09 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2439, allocations: 266 kB / 0.7892 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.244, allocations: 154.6 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.2441, allocations: 154.6 kB / 0.7895 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.189e-05/0.2442, allocations: 104.9 kB / 0.7896 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.2442, allocations: 75.28 kB / 0.7897 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.2443, allocations: 150.6 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/0.2443, allocations: 154.5 kB / 0.79 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.403e-05/0.2444, allocations: 154.6 kB / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.2448, allocations: 0.4899 MB / 0.7906 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.988e-05/0.2448, allocations: 173.1 kB / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.2449, allocations: 75.28 kB / 0.7908 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.2449, allocations: 109.8 kB / 0.7909 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.2449, allocations: 0 / 0.7909 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001002/0.245, allocations: 49.5 kB / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.2451, allocations: 126.7 kB / 0.7911 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.2454, allocations: 219.1 kB / 0.7913 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2455, allocations: 29.64 kB / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.2456, allocations: 112.2 kB / 0.7914 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-06/0.2456, allocations: 8 kB / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.2456, allocations: 3.938 kB / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2457, allocations: 330.8 kB / 0.7918 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.2458, allocations: 52.16 kB / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.2459, allocations: 56.33 kB / 0.7919 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.647e-05/0.246, allocations: 62.41 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.246, allocations: 0 / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003116/0.2463, allocations: 176.8 kB / 0.7921 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2463, allocations: 4 kB / 0.7921 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2463, allocations: 8.047 kB / 0.7921 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2464, allocations: 0 / 0.7921 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.2464, allocations: 0 / 0.7921 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2464, allocations: 0 / 0.7921 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.2464, allocations: 15.75 kB / 0.7921 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2464, allocations: 4 kB / 0.7921 GB, free: 6.625 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.2466, allocations: 201.1 kB / 0.7923 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.2467, allocations: 120.8 kB / 0.7924 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.637e-05/0.2467, allocations: 117.5 kB / 0.7926 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-05/0.2468, allocations: 192.2 kB / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.03e-05/0.2469, allocations: 176.3 kB / 0.7929 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.528e-05/0.247, allocations: 176.3 kB / 0.7931 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.2472, allocations: 442.3 kB / 0.7935 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.924e-05/0.2473, allocations: 109 kB / 0.7936 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.2474, allocations: 104.9 kB / 0.7937 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.911e-05/0.2474, allocations: 184.2 kB / 0.7939 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.24e-05/0.2475, allocations: 176.3 kB / 0.794 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.561e-05/0.2476, allocations: 180.2 kB / 0.7942 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.892e-05/0.2477, allocations: 180.2 kB / 0.7944 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.2479, allocations: 319.6 kB / 0.7947 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.248, allocations: 198.1 kB / 0.7949 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/0.2481, allocations: 184.2 kB / 0.7951 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.2482, allocations: 113 kB / 0.7952 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.2483, allocations: 184.2 kB / 0.7953 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.2483, allocations: 101 kB / 0.7954 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001417/0.2485, allocations: 168.5 kB / 0.7956 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2485, allocations: 0 / 0.7956 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000276/0.2487, allocations: 16 kB / 0.7956 GB, free: 2.844 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 (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.000529/0.2493, allocations: 0.8319 MB / 0.7964 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.2495, allocations: 75.91 kB / 0.7965 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2495, allocations: 0 / 0.7965 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.2495, allocations: 0 / 0.7965 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.2498, allocations: 0.5264 MB / 0.797 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.2506, allocations: 0.5226 MB / 0.7975 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.2509, allocations: 0.7149 MB / 0.7982 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.388e-05/0.251, allocations: 7.984 kB / 0.7982 GB, free: 56 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.251, allocations: 35.41 kB / 0.7983 GB, free: 24 kB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.251, allocations: 0 / 0.7983 GB, free: 24 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01271/0.2637, allocations: 2.145 MB / 0.8004 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.264, allocations: 194 kB / 0.8005 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.133, allocations: 4 kB / 0.8005 GB, free: 13.77 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/linux/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) Environment - environmentSimulation: