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.0008646/0.0008645, allocations: 97.48 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.005187/0.005187, allocations: 169.9 kB / 16.27 MB, free: 6.324 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.221/1.221, allocations: 205.4 MB / 222.4 MB, free: 5.547 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.552/1.552, 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.0004688/0.0004688, allocations: 15.03 kB / 0.6745 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.171, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0006093/0.1717, allocations: 329.7 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 2.96e-05/0.1717, allocations: 0 / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.1718, allocations: 0 / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.1718, allocations: 0 / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.524e-05/0.1718, allocations: 4 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.202e-05/0.1718, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.542e-05/0.1719, allocations: 4 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.1719, allocations: 3.984 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.049e-05/0.1719, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.396e-05/0.172, allocations: 8 kB / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.172, allocations: 3.984 kB / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.178e-06/0.172, allocations: 0 / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.649e-06/0.172, allocations: 3.938 kB / 0.7884 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.172, allocations: 25.7 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 3.726e-05/0.1721, allocations: 3.938 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1721, allocations: 0 / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1721, allocations: 0 / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.1721, allocations: 0 / 0.7884 GB, free: 11.07 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.0002105/0.1723, allocations: 311.6 kB / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1724, allocations: 12.03 kB / 0.7887 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.1724, allocations: 30.75 kB / 0.7887 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.1724, allocations: 4.938 kB / 0.7887 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.613e-05/0.1725, allocations: 164.4 kB / 0.7889 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.1725, allocations: 384 / 0.7889 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-06/0.1725, allocations: 384 / 0.7889 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.97e-05/0.1726, allocations: 26.27 kB / 0.7889 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1726, allocations: 3.938 kB / 0.7889 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-06/0.1726, allocations: 4 kB / 0.7889 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1726, allocations: 7.984 kB / 0.7889 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.314e-05/0.1726, allocations: 3.938 kB / 0.7889 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.1729, allocations: 379.4 kB / 0.7893 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.173, allocations: 173.1 kB / 0.7895 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.173, allocations: 88.02 kB / 0.7895 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.173, allocations: 79.28 kB / 0.7896 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.1731, allocations: 117.8 kB / 0.7897 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.1731, allocations: 0 / 0.7897 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.487e-05/0.1731, allocations: 25.73 kB / 0.7898 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1732, allocations: 130.7 kB / 0.7899 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.976e-05/0.1732, allocations: 93.95 kB / 0.79 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.1733, allocations: 29.73 kB / 0.79 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.521e-05/0.1733, allocations: 80.14 kB / 0.7901 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.1733, allocations: 0 / 0.7901 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.1733, allocations: 9.719 kB / 0.7901 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.1734, allocations: 318.8 kB / 0.7904 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-06/0.1734, allocations: 0 / 0.7904 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-06/0.1734, allocations: 4 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.1734, allocations: 75.28 kB / 0.7905 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.436e-05/0.1735, allocations: 83.22 kB / 0.7905 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.729e-05/0.1735, allocations: 33.62 kB / 0.7906 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.1736, allocations: 83.28 kB / 0.7907 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.1736, allocations: 75.28 kB / 0.7907 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.044e-05/0.1737, allocations: 154.5 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.875e-05/0.1737, allocations: 75.28 kB / 0.791 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.477e-05/0.1737, allocations: 162.5 kB / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/0.1738, allocations: 83.22 kB / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1738, allocations: 75.28 kB / 0.7913 GB, free: 7.887 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.413e-05/0.1739, allocations: 261.3 kB / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.174, allocations: 110 kB / 0.7916 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.174, allocations: 108.1 kB / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.843e-05/0.1741, allocations: 188.2 kB / 0.7919 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.988e-05/0.1741, allocations: 184.3 kB / 0.7921 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.72e-05/0.1742, allocations: 176.3 kB / 0.7922 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.1743, allocations: 405.1 kB / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.1744, allocations: 101 kB / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.1744, allocations: 112.9 kB / 0.7928 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.792e-05/0.1745, allocations: 184.6 kB / 0.793 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.1745, allocations: 176.3 kB / 0.7932 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.955e-05/0.1746, allocations: 184.2 kB / 0.7933 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.774e-05/0.1746, allocations: 188.2 kB / 0.7935 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.1747, allocations: 311.7 kB / 0.7938 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.1748, allocations: 182.1 kB / 0.794 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.1749, allocations: 180.2 kB / 0.7942 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.1749, allocations: 101 kB / 0.7943 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.175, allocations: 188.2 kB / 0.7944 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.175, allocations: 104.9 kB / 0.7945 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.962e-05/0.1751, allocations: 83.28 kB / 0.7946 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1751, allocations: 0 / 0.7946 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002319/0.1753, allocations: 3.984 kB / 0.7946 GB, free: 4.203 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.0003355/0.1757, allocations: 0.8088 MB / 0.7954 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 2.269e-05/0.1757, allocations: 0 / 0.7954 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1757, allocations: 0 / 0.7954 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.66e-06/0.1757, allocations: 4 kB / 0.7954 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.176, allocations: 0.5224 MB / 0.7959 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008232/0.1769, allocations: 1.536 MB / 0.7974 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.1771, allocations: 0.6731 MB / 0.7981 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.272e-06/0.1771, allocations: 0 / 0.7981 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.1771, allocations: 7.438 kB / 0.7981 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.1771, allocations: 0 / 0.7981 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04918/0.2263, allocations: 0.7297 MB / 0.7988 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.2265, allocations: 226.8 kB / 0.799 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.842, allocations: 4 kB / 0.799 GB, free: 15.66 MB / 0.6231 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)