Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_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.001032/0.001032, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005906/0.005906, allocations: 172.8 kB / 16.27 MB, free: 6.648 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.409/1.409, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.662/1.662, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005195/0.0005196, allocations: 15.78 kB / 0.6745 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1961, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0006172/0.1968, allocations: 302 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.083e-05/0.1968, allocations: 0 / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.633e-05/0.1968, allocations: 0 / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.1968, allocations: 0 / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.365e-05/0.1969, allocations: 4 kB / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.399e-05/0.1969, allocations: 0 / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.499e-05/0.1969, allocations: 7.938 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.197, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.168e-05/0.197, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.563e-05/0.197, allocations: 8 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.197, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-06/0.197, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1971, allocations: 0 / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.1971, allocations: 29.64 kB / 0.7884 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.205e-05/0.1971, allocations: 3.984 kB / 0.7884 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1972, allocations: 0 / 0.7884 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1972, allocations: 0 / 0.7884 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.1972, allocations: 4 kB / 0.7884 GB, free: 11.09 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.0002088/0.1974, allocations: 307.6 kB / 0.7887 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1974, allocations: 8.031 kB / 0.7887 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.542e-05/0.1975, allocations: 30.75 kB / 0.7887 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.665e-05/0.1975, allocations: 8.875 kB / 0.7887 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.737e-05/0.1976, allocations: 164.4 kB / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.1976, allocations: 384 / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-06/0.1976, allocations: 384 / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.886e-05/0.1977, allocations: 30.27 kB / 0.7889 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1977, allocations: 11.94 kB / 0.7889 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.1977, allocations: 0 / 0.7889 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1977, allocations: 3.938 kB / 0.7889 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.18e-05/0.1977, allocations: 0 / 0.7889 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.198, allocations: 383.4 kB / 0.7893 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/0.1981, allocations: 169.1 kB / 0.7894 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.1981, allocations: 84.14 kB / 0.7895 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1981, allocations: 79.22 kB / 0.7896 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1982, allocations: 109.9 kB / 0.7897 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.1982, allocations: 0 / 0.7897 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.024e-05/0.1982, allocations: 29.73 kB / 0.7897 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.1983, allocations: 134.6 kB / 0.7899 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.486e-05/0.1984, allocations: 101.8 kB / 0.79 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.1984, allocations: 25.7 kB / 0.79 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.1984, allocations: 80.14 kB / 0.7901 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.1984, allocations: 0 / 0.7901 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.1984, allocations: 9.719 kB / 0.7901 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.478e-05/0.1985, allocations: 314.8 kB / 0.7904 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-06/0.1985, allocations: 0 / 0.7904 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-06/0.1985, allocations: 7.938 kB / 0.7904 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.316e-05/0.1986, allocations: 79.41 kB / 0.7904 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-05/0.1986, allocations: 79.22 kB / 0.7905 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.641e-05/0.1987, allocations: 25.7 kB / 0.7905 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.1987, allocations: 87.27 kB / 0.7906 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.1987, allocations: 75.28 kB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.067e-05/0.1988, allocations: 154.5 kB / 0.7908 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.048e-05/0.1988, allocations: 75.28 kB / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.72e-05/0.1989, allocations: 162.5 kB / 0.7911 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.1989, allocations: 75.28 kB / 0.7911 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.199, allocations: 79.28 kB / 0.7912 GB, free: 7.926 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 9.198e-05/0.199, allocations: 264.6 kB / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.1991, allocations: 110 kB / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.1992, allocations: 108.1 kB / 0.7917 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.017e-05/0.1992, allocations: 180.2 kB / 0.7919 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-05/0.1993, allocations: 188.3 kB / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.198e-05/0.1993, allocations: 180.2 kB / 0.7922 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1995, allocations: 401.2 kB / 0.7926 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-05/0.1995, allocations: 112.9 kB / 0.7927 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.1996, allocations: 104.9 kB / 0.7928 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.652e-05/0.1996, allocations: 188.6 kB / 0.793 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.1997, allocations: 180.2 kB / 0.7931 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.871e-05/0.1997, allocations: 180.3 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.343e-05/0.1998, allocations: 180.3 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.1999, allocations: 315.7 kB / 0.7938 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.2, allocations: 182 kB / 0.794 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.2, allocations: 176.3 kB / 0.7941 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.379e-05/0.2001, allocations: 101 kB / 0.7942 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.2002, allocations: 200.1 kB / 0.7944 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.2002, allocations: 105 kB / 0.7945 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.98e-05/0.2003, allocations: 79.28 kB / 0.7946 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2003, allocations: 0 / 0.7946 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00023/0.2005, allocations: 0 / 0.7946 GB, free: 4.238 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.0003315/0.2008, allocations: 0.8127 MB / 0.7954 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 2.675e-05/0.2009, allocations: 0 / 0.7954 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2009, allocations: 0 / 0.7954 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.2009, allocations: 0 / 0.7954 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.2012, allocations: 0.5262 MB / 0.7959 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.202, allocations: 1.53 MB / 0.7974 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.2022, allocations: 0.673 MB / 0.7981 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.572e-06/0.2022, allocations: 0 / 0.7981 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.2022, allocations: 7.438 kB / 0.7981 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2022, allocations: 0 / 0.7981 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009023/0.2113, allocations: 0.7281 MB / 0.7988 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.2115, allocations: 229.8 kB / 0.799 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/1.714, allocations: 0 / 0.799 GB, free: 15.69 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)