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.001662/0.001661, allocations: 105.4 kB / 15.7 MB, free: 24 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.001883/0.001883, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.727/1.727, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002855/0.002856, allocations: 71.08 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3226, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003577/0.3263, allocations: 1.224 MB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003022/0.3266, allocations: 55.81 kB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.3267, allocations: 0 / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.3268, allocations: 0 / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.3269, allocations: 7.922 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.3271, allocations: 4 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.3272, allocations: 31.84 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.694e-05/0.3273, allocations: 4 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.3273, allocations: 4 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.3274, allocations: 8.734 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3274, allocations: 0 / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.3275, allocations: 8 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.3276, allocations: 48.42 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.3277, allocations: 39.69 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.3279, allocations: 79.88 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3279, allocations: 4 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3279, allocations: 0 / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.3279, allocations: 0 / 0.7851 GB, free: 11.73 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.0005075/0.3284, allocations: 425.2 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.3285, allocations: 15.97 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.987e-05/0.3286, allocations: 106 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3287, allocations: 88.03 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.3289, allocations: 275.3 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.329, allocations: 158.5 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.3291, allocations: 154.6 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.074e-05/0.3291, allocations: 101 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.3292, allocations: 79.22 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/0.3293, allocations: 150.6 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/0.3293, allocations: 154.6 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7e-05/0.3294, allocations: 154.5 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.3298, allocations: 0.4938 MB / 0.7874 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3299, allocations: 165.1 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.33, allocations: 84.14 kB / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.33, allocations: 83.27 kB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.3301, allocations: 113.8 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3301, allocations: 0 / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001222/0.3302, allocations: 33.61 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.3303, allocations: 130.6 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.3306, allocations: 223 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.3306, allocations: 29.7 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.3307, allocations: 116 kB / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.3307, allocations: 0 / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.3308, allocations: 37.69 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.331, allocations: 330.8 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.3311, allocations: 55.97 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.771e-05/0.3312, allocations: 58.39 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.3313, allocations: 140.7 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3314, allocations: 4.031 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003564/0.3317, allocations: 176.7 kB / 0.7891 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3317, allocations: 4 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3318, allocations: 0 / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3318, allocations: 0 / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.143e-06/0.3318, allocations: 0 / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3318, allocations: 4 kB / 0.7891 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.3319, allocations: 7.844 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.3319, allocations: 8 kB / 0.7891 GB, free: 7.41 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.0001464/0.332, allocations: 213.7 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.3321, allocations: 116.7 kB / 0.7894 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.407e-05/0.3322, allocations: 117.3 kB / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.677e-05/0.3323, allocations: 180.2 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.173e-05/0.3324, allocations: 184.3 kB / 0.7899 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.351e-05/0.3324, allocations: 180.3 kB / 0.79 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.3327, allocations: 446.1 kB / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.161e-05/0.3328, allocations: 101 kB / 0.7906 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.3328, allocations: 109 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.191e-05/0.3329, allocations: 180.3 kB / 0.7908 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/0.333, allocations: 180.2 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.24e-05/0.3331, allocations: 184.2 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.816e-05/0.3331, allocations: 188.2 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.3333, allocations: 311.8 kB / 0.7917 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.3334, allocations: 193.9 kB / 0.7918 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.825e-05/0.3335, allocations: 192.2 kB / 0.792 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.3336, allocations: 105 kB / 0.7921 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.3337, allocations: 184.1 kB / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.3337, allocations: 101 kB / 0.7924 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001381/0.3339, allocations: 164.5 kB / 0.7926 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3339, allocations: 0 / 0.7926 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000267/0.3342, allocations: 20 kB / 0.7926 GB, free: 3.621 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.0005014/0.3347, allocations: 0.8242 MB / 0.7934 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.3348, allocations: 79.95 kB / 0.7935 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3349, allocations: 0 / 0.7935 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.3349, allocations: 4 kB / 0.7935 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3352, allocations: 459.8 kB / 0.7939 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.3373, allocations: 2.124 MB / 0.796 GB, free: 32 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3376, allocations: 0.7119 MB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.3377, allocations: 7.984 kB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.3377, allocations: 39.45 kB / 0.7967 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3377, allocations: 0 / 0.7967 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.3569, allocations: 2.729 MB / 0.7994 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.264, allocations: 22.69 kB / 0.7994 GB, free: 12.6 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)