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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 108 kB / 15.6 MB, free: 132 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.001387/0.001387, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.14/1.14, allocations: 205.1 MB / 222.4 MB, free: 4.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.465/1.465, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001256/0.001256, allocations: 75.73 kB / 0.6716 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1552, allocations: 114.5 MB / 0.7835 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001443/0.1567, allocations: 0.5883 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 2.66e-05/0.1567, allocations: 0 / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.1567, allocations: 0 / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.1567, allocations: 4 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.237e-05/0.1568, allocations: 3.938 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.59e-05/0.1568, allocations: 4 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.785e-05/0.1568, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.1569, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.019e-05/0.1569, allocations: 8 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.426e-05/0.1569, allocations: 3.984 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1569, allocations: 0 / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-06/0.1569, allocations: 0 / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.157, allocations: 3.938 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.428e-05/0.157, allocations: 0 / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 3.767e-05/0.157, allocations: 4 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.157, allocations: 4 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.157, allocations: 0 / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.157, allocations: 0 / 0.7841 GB, free: 12.7 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002296/0.1573, allocations: 311.5 kB / 0.7844 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.1573, allocations: 12.06 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.351e-05/0.1573, allocations: 30.75 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.352e-05/0.1574, allocations: 0.9375 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.1574, allocations: 160.4 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-06/0.1575, allocations: 384 / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.1575, allocations: 4.375 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.467e-05/0.1575, allocations: 34.2 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.1575, allocations: 3.938 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-06/0.1575, allocations: 4 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.1576, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.254e-05/0.1576, allocations: 4 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.1578, allocations: 383.4 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.48e-05/0.1579, allocations: 177 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.1579, allocations: 92.11 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1579, allocations: 75.28 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.158, allocations: 113.8 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.158, allocations: 0 / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.156e-05/0.158, allocations: 29.7 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1581, allocations: 130.7 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.645e-05/0.1581, allocations: 93.86 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.1582, allocations: 29.7 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.161e-05/0.1582, allocations: 80.14 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.1582, allocations: 0 / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.1582, allocations: 13.66 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.1583, allocations: 314.8 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-06/0.1583, allocations: 0 / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-06/0.1583, allocations: 4 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.1583, allocations: 79.41 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-05/0.1584, allocations: 83.22 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.174e-05/0.1584, allocations: 25.7 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.1585, allocations: 83.28 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.1585, allocations: 83.2 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.974e-05/0.1585, allocations: 150.6 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.856e-05/0.1586, allocations: 79.28 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.555e-05/0.1586, allocations: 166.5 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.1587, allocations: 75.28 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.1587, allocations: 83.22 kB / 0.787 GB, free: 9.512 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 (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 prepare postOptimizeDAE: time 8.099e-05/0.1588, allocations: 260.6 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.1588, allocations: 105 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.1589, allocations: 105.2 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/0.1589, allocations: 188.2 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-05/0.159, allocations: 176.3 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.126e-05/0.159, allocations: 188.2 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1592, allocations: 405.2 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/0.1592, allocations: 101 kB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.1593, allocations: 112.9 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-05/0.1593, allocations: 180.3 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.1594, allocations: 180.2 kB / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.736e-05/0.1594, allocations: 176.6 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.153e-05/0.1595, allocations: 188.2 kB / 0.7892 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.1596, allocations: 311.8 kB / 0.7895 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.1596, allocations: 186 kB / 0.7897 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.1597, allocations: 180.2 kB / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/0.1598, allocations: 104.9 kB / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.1598, allocations: 180.3 kB / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.1599, allocations: 108.9 kB / 0.7903 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.1599, allocations: 79.28 kB / 0.7903 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1599, allocations: 0 / 0.7903 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000229/0.1601, allocations: 4 kB / 0.7903 GB, free: 5.84 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.0003068/0.1605, allocations: 0.8127 MB / 0.7911 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 2.633e-05/0.1605, allocations: 0 / 0.7911 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1605, allocations: 0 / 0.7911 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.1605, allocations: 4 kB / 0.7911 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1608, allocations: 466.2 kB / 0.7916 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.1616, allocations: 1.539 MB / 0.7931 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.1618, allocations: 0.6729 MB / 0.7938 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.069e-06/0.1618, allocations: 0 / 0.7938 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.1618, allocations: 7.438 kB / 0.7938 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1618, allocations: 0 / 0.7938 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.004/1.166, allocations: 0.9042 MB / 0.7946 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/8.127, allocations: 14.25 kB / 0.7947 GB, free: 1.387 MB / 0.6075 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/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)