Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.5 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 195.5 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 0.6366 GB, free: 8.598 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008243/0.0008243, allocations: 94.17 kB / 0.7509 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003757, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2804, allocations: 116.3 MB / 0.9885 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7388/1.019, allocations: 138.1 MB / 1.123 GB, free: 36.29 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.02, allocations: 70.92 kB / 1.123 GB, free: 36.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005251/1.02, allocations: 379.1 kB / 1.124 GB, free: 35.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.986e-06/1.02, allocations: 1.438 kB / 1.124 GB, free: 35.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.02, allocations: 0 / 1.124 GB, free: 35.88 MB / 0.7292 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.000261/1.02, allocations: 308.5 kB / 1.124 GB, free: 35.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.02, allocations: 18.61 kB / 1.124 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/1.021, allocations: 30.56 kB / 1.124 GB, free: 35.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/1.021, allocations: 5.484 kB / 1.124 GB, free: 35.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/1.021, allocations: 160.9 kB / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/1.021, allocations: 0.5312 kB / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/1.021, allocations: 3.438 kB / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/1.021, allocations: 35.17 kB / 1.124 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/1.021, allocations: 1.938 kB / 1.124 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/1.021, allocations: 0.6094 kB / 1.124 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.021, allocations: 0 / 1.124 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/1.021, allocations: 3.938 kB / 1.124 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/1.021, allocations: 382 kB / 1.125 GB, free: 34.83 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.328e-05/1.021, allocations: 174.4 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/1.021, allocations: 76.69 kB / 1.125 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.021, allocations: 111.7 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.021, allocations: 0 / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 8.028e-05/1.021, allocations: 30.42 kB / 1.125 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/1.021, allocations: 129.4 kB / 1.125 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/1.022, allocations: 94.5 kB / 1.125 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/1.022, allocations: 25.7 kB / 1.125 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.935e-05/1.022, allocations: 87.41 kB / 1.125 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/1.022, allocations: 0 / 1.125 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/1.022, allocations: 0.5625 kB / 1.125 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/1.022, allocations: 318.8 kB / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-06/1.022, allocations: 0 / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/1.022, allocations: 3.562 kB / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.537e-05/1.022, allocations: 75.28 kB / 1.126 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/1.022, allocations: 75.28 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.523e-05/1.022, allocations: 38.7 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/1.022, allocations: 80.22 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.022, allocations: 79.28 kB / 1.126 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.952e-05/1.022, allocations: 154.5 kB / 1.126 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.488e-05/1.022, allocations: 79.28 kB / 1.126 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-05/1.022, allocations: 154 kB / 1.126 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/1.022, allocations: 79.22 kB / 1.126 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.022, allocations: 79.28 kB / 1.126 GB, free: 32.88 MB / 0.7292 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 (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 6.865e-05/1.022, allocations: 264.4 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/1.022, allocations: 112.8 kB / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/1.022, allocations: 108.5 kB / 1.127 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/1.022, allocations: 176.6 kB / 1.127 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.361e-05/1.022, allocations: 188.2 kB / 1.127 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/1.022, allocations: 180.3 kB / 1.127 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/1.023, allocations: 410.1 kB / 1.128 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/1.023, allocations: 105 kB / 1.128 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/1.023, allocations: 101 kB / 1.128 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.981e-05/1.023, allocations: 188.4 kB / 1.128 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/1.023, allocations: 176.3 kB / 1.128 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.17e-05/1.023, allocations: 188.2 kB / 1.129 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.388e-05/1.023, allocations: 177 kB / 1.129 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.558e-05/1.023, allocations: 313.2 kB / 1.129 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/1.023, allocations: 182.1 kB / 1.129 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/1.023, allocations: 180.8 kB / 1.129 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.018e-05/1.023, allocations: 108.4 kB / 1.129 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/1.023, allocations: 181.1 kB / 1.13 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/1.023, allocations: 101 kB / 1.13 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.629e-05/1.023, allocations: 83.28 kB / 1.13 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.023, allocations: 0 / 1.13 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002756/1.023, allocations: 0 / 1.13 GB, free: 29.23 MB / 0.7292 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.0002839/1.024, allocations: 0.8145 MB / 1.131 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.006e-05/1.024, allocations: 8.094 kB / 1.131 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.024, allocations: 0 / 1.131 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/1.024, allocations: 3.828 kB / 1.131 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/1.024, allocations: 0.5185 MB / 1.131 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/1.024, allocations: 0.4976 MB / 1.132 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/1.024, allocations: 0.6692 MB / 1.132 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.017e-06/1.024, allocations: 4 kB / 1.132 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/1.024, allocations: 7.438 kB / 1.132 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/1.024, allocations: 0 / 1.132 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/1.035, allocations: 0.7283 MB / 1.133 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/1.036, allocations: 197 kB / 1.133 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.602, allocations: 0 / 1.133 GB, free: 26.03 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)