Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 249.5 MB / 257 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 180.8 kB / 316.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 97.27 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.817e-05/1.818e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1612, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6305/0.7917, allocations: 131.1 MB / 1.013 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.7919, allocations: 74.38 kB / 1.013 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004668/0.7924, allocations: 372.7 kB / 1.014 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7924, allocations: 3.875 kB / 1.014 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.7925, allocations: 0 / 1.014 GB, free: 6.211 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002318/0.7927, allocations: 302.4 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.7927, allocations: 12.09 kB / 1.014 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.7928, allocations: 3.984 kB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.7929, allocations: 169.4 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.7929, allocations: 0 / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.7929, allocations: 0 / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.907e-05/0.793, allocations: 4 kB / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.401e-05/0.793, allocations: 28.73 kB / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.793, allocations: 0 / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.793, allocations: 0 / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.7931, allocations: 0 / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.7933, allocations: 367.8 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.138e-05/0.7934, allocations: 169.1 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.7934, allocations: 80.14 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.7935, allocations: 75.28 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.7935, allocations: 110.8 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.7935, allocations: 0 / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.282e-05/0.7936, allocations: 32.36 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.7936, allocations: 54.14 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.012e-05/0.7937, allocations: 92.92 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.7937, allocations: 25.7 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.7937, allocations: 84.14 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-06/0.7937, allocations: 3.938 kB / 1.015 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-07/0.7937, allocations: 0 / 1.015 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7938, allocations: 314.9 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-06/0.7939, allocations: 4 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-06/0.7939, allocations: 0 / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.7939, allocations: 76.31 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-05/0.7939, allocations: 75.28 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.758e-05/0.794, allocations: 29.7 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.794, allocations: 79.28 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.794, allocations: 75.28 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.336e-05/0.7941, allocations: 166.5 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.416e-05/0.7941, allocations: 75.28 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.725e-05/0.7942, allocations: 154.4 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.7943, allocations: 79.22 kB / 1.016 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.7943, allocations: 78.28 kB / 1.016 GB, free: 3.27 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.754e-05/0.7944, allocations: 259.5 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.176e-05/0.7945, allocations: 142.5 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.7946, allocations: 105.3 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.7946, allocations: 104.7 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.539e-05/0.7947, allocations: 184.2 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.059e-05/0.7948, allocations: 180.1 kB / 1.017 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.88e-05/0.7948, allocations: 192.2 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.795, allocations: 381.7 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/0.7951, allocations: 101 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.7951, allocations: 101 kB / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.226e-05/0.7952, allocations: 188.2 kB / 1.018 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.7953, allocations: 176.3 kB / 1.018 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.445e-05/0.7953, allocations: 184.1 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.238e-05/0.7954, allocations: 181.2 kB / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.7955, allocations: 303.8 kB / 1.019 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.7956, allocations: 182 kB / 1.019 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.664e-05/0.7957, allocations: 192 kB / 1.019 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.7958, allocations: 101 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.7959, allocations: 180.2 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.7959, allocations: 109.5 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.291e-05/0.7959, allocations: 79.28 kB / 1.02 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7959, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000243/0.7962, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.6511 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 () * 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.0004063/0.7966, allocations: 0.8084 MB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.547e-05/0.7967, allocations: 3.984 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7967, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.7967, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.797, allocations: 0.5185 MB / 1.021 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.7973, allocations: 149 kB / 1.021 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.7976, allocations: 0.6729 MB / 1.022 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.354e-06/0.7976, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.7976, allocations: 7.438 kB / 1.022 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.644e-06/0.7976, allocations: 7.938 kB / 1.022 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.817, allocations: 439.6 kB / 1.022 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.8173, allocations: 161.4 kB / 1.023 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.373/2.19, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)