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.000879/0.000879, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009655/0.0009656, allocations: 168.7 kB / 15.95 MB, free: 204 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.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.758/1.758, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0008048/0.0008049, allocations: 12.88 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3096, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001741/0.3115, allocations: 0.9353 MB / 0.7883 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002581/0.3117, allocations: 63.8 kB / 0.7884 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.3118, allocations: 0 / 0.7884 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.3118, allocations: 0 / 0.7884 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.312, allocations: 3.938 kB / 0.7884 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.3122, allocations: 15.97 kB / 0.7884 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.3123, allocations: 23.92 kB / 0.7884 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.3123, allocations: 3.984 kB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.286e-05/0.3124, allocations: 8 kB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.3124, allocations: 19.94 kB / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3125, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.3125, allocations: 11.97 kB / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.3126, allocations: 47.89 kB / 0.7885 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.3126, allocations: 41.64 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.3128, allocations: 56.11 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.3128, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3128, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3128, allocations: 0 / 0.7886 GB, free: 10.61 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.0004144/0.3132, allocations: 402.8 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3133, allocations: 8.031 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.3133, allocations: 105.8 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.294e-05/0.3134, allocations: 91.09 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3136, allocations: 286 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.3137, allocations: 150.6 kB / 0.7896 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.3138, allocations: 150.6 kB / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.335e-05/0.3138, allocations: 108.9 kB / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.3139, allocations: 75.28 kB / 0.7899 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.3139, allocations: 158.6 kB / 0.7901 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.485e-05/0.314, allocations: 154.5 kB / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.666e-05/0.3141, allocations: 150.6 kB / 0.7904 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.3145, allocations: 0.4899 MB / 0.7908 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.139e-05/0.3145, allocations: 173.1 kB / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.3146, allocations: 84.14 kB / 0.7911 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3146, allocations: 79.28 kB / 0.7912 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.3147, allocations: 105.8 kB / 0.7913 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3147, allocations: 0 / 0.7913 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.399e-05/0.3148, allocations: 37.52 kB / 0.7913 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.3149, allocations: 126.7 kB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.3151, allocations: 227.1 kB / 0.7916 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3151, allocations: 25.7 kB / 0.7916 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.3152, allocations: 108.2 kB / 0.7918 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.3152, allocations: 3.938 kB / 0.7918 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.3152, allocations: 0 / 0.7918 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3154, allocations: 326.8 kB / 0.7921 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.3154, allocations: 60.14 kB / 0.7921 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.3155, allocations: 54.78 kB / 0.7922 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.864e-05/0.3156, allocations: 68.73 kB / 0.7922 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3156, allocations: 3.953 kB / 0.7922 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000297/0.3159, allocations: 167.9 kB / 0.7924 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.316, allocations: 8 kB / 0.7924 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.316, allocations: 0 / 0.7924 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.316, allocations: 0 / 0.7924 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.316, allocations: 0 / 0.7924 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.316, allocations: 0 / 0.7924 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.972e-05/0.3161, allocations: 15.75 kB / 0.7924 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.3161, allocations: 7.984 kB / 0.7924 GB, free: 6.426 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.0001385/0.3162, allocations: 201.8 kB / 0.7926 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.3163, allocations: 120.8 kB / 0.7927 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.3164, allocations: 113.5 kB / 0.7929 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.975e-05/0.3165, allocations: 184.2 kB / 0.793 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.146e-05/0.3165, allocations: 176.3 kB / 0.7932 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-05/0.3166, allocations: 184.2 kB / 0.7934 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.3169, allocations: 442.2 kB / 0.7938 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-05/0.3169, allocations: 105 kB / 0.7939 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.317, allocations: 120.7 kB / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-05/0.317, allocations: 176.3 kB / 0.7942 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/0.3171, allocations: 180.3 kB / 0.7943 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.739e-05/0.3172, allocations: 188.2 kB / 0.7945 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.375e-05/0.3172, allocations: 176.3 kB / 0.7947 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.3174, allocations: 319.8 kB / 0.795 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.3175, allocations: 193.8 kB / 0.7952 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/0.3176, allocations: 188.2 kB / 0.7954 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.3177, allocations: 101 kB / 0.7955 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.3177, allocations: 192.2 kB / 0.7956 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.3178, allocations: 105 kB / 0.7957 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001241/0.3179, allocations: 160.6 kB / 0.7959 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3179, allocations: 0 / 0.7959 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002504/0.3182, allocations: 16 kB / 0.7959 GB, free: 2.645 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.000434/0.3186, allocations: 0.8242 MB / 0.7967 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.3188, allocations: 75.89 kB / 0.7968 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3188, allocations: 4 kB / 0.7968 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.3188, allocations: 0 / 0.7968 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.3192, allocations: 0.5264 MB / 0.7973 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3206, allocations: 1.047 MB / 0.7983 GB, free: 92 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3209, allocations: 0.7082 MB / 0.799 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.371e-05/0.321, allocations: 19.86 kB / 0.799 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.321, allocations: 31.42 kB / 0.7991 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.321, allocations: 0 / 0.7991 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.3342, allocations: 2.496 MB / 0.8015 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.3344, allocations: 195.4 kB / 0.8017 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.11, allocations: 0 / 0.8017 GB, free: 12.72 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: