Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.Ramp,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001111/0.001111, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.184/1.184, allocations: 205.1 MB / 222 MB, free: 4.742 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.516/1.516, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001302/0.001302, allocations: 72.05 kB / 0.671 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.168, allocations: 114.5 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001594/0.1696, allocations: 0.6765 MB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006364/0.1703, allocations: 0.7815 MB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.1703, allocations: 0 / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.1703, allocations: 3.938 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.1704, allocations: 4 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.173e-05/0.1704, allocations: 0 / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.727e-05/0.1705, allocations: 27.86 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.1705, allocations: 3.938 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.1706, allocations: 8 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.475e-05/0.1706, allocations: 3.984 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1706, allocations: 0 / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-06/0.1706, allocations: 4 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.1706, allocations: 7.938 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.1707, allocations: 3.984 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.725e-05/0.1707, allocations: 15.92 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1707, allocations: 0 / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.1707, allocations: 0 / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.1707, allocations: 0 / 0.7843 GB, free: 12.31 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.0003366/0.1711, allocations: 339.7 kB / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1711, allocations: 8.031 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.1712, allocations: 38.75 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.551e-05/0.1712, allocations: 0.9375 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.1713, allocations: 168.4 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1713, allocations: 384 / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.1713, allocations: 384 / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1714, allocations: 46.19 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1714, allocations: 11.92 kB / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.1715, allocations: 0 / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1715, allocations: 0 / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1716, allocations: 35.95 kB / 0.7849 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.1717, allocations: 153.7 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.191e-05/0.1718, allocations: 30.56 kB / 0.7851 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.1719, allocations: 20.91 kB / 0.7851 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.1719, allocations: 3.938 kB / 0.7851 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1719, allocations: 34.56 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1719, allocations: 0 / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002623/0.1722, allocations: 81.58 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.1722, allocations: 51.41 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.56e-05/0.1723, allocations: 105.8 kB / 0.7854 GB, free: 11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.1723, allocations: 25.7 kB / 0.7854 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.1724, allocations: 80.14 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.1724, allocations: 4 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.1724, allocations: 13.72 kB / 0.7855 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.1725, allocations: 310.8 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.1726, allocations: 19.95 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/0.1726, allocations: 23.91 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1728, allocations: 32.83 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1728, allocations: 0 / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001611/0.1729, allocations: 57.73 kB / 0.7859 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.173, allocations: 19.86 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.173, allocations: 0 / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.173, allocations: 0 / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.1731, allocations: 4 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.1731, allocations: 0 / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.1731, allocations: 11.98 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1731, allocations: 0 / 0.786 GB, free: 10.38 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 (1): * Single equations (assignments): 1 * 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 5.364e-05/0.1732, allocations: 113.8 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-06/0.1732, allocations: 7.938 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.1732, allocations: 3.125 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.1732, allocations: 0 / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1732, allocations: 0 / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1732, allocations: 3.984 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.592e-05/0.1733, allocations: 153.7 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1733, allocations: 0 / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.1734, allocations: 4 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1734, allocations: 3.938 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.1734, allocations: 7.984 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1734, allocations: 4 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1734, allocations: 0 / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1736, allocations: 81.02 kB / 0.7863 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.1736, allocations: 81.09 kB / 0.7864 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.1736, allocations: 3.938 kB / 0.7864 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.1737, allocations: 12.03 kB / 0.7864 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.1737, allocations: 3.984 kB / 0.7864 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1737, allocations: 8 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.1737, allocations: 79.22 kB / 0.7865 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1737, allocations: 0 / 0.7865 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001648/0.1739, allocations: 4 kB / 0.7865 GB, free: 9.715 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 (1): * Single equations (assignments): 1 * 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.000383/0.1743, allocations: 0.6241 MB / 0.7871 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1745, allocations: 27.97 kB / 0.7872 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1745, allocations: 7.938 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.1745, allocations: 24 kB / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.1747, allocations: 4.328 kB / 0.7872 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.175, allocations: 121.9 kB / 0.7873 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.1752, allocations: 0.6731 MB / 0.788 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.1752, allocations: 0 / 0.788 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.1752, allocations: 11.42 kB / 0.788 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.1752, allocations: 4 kB / 0.788 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.169/0.3442, allocations: 1.026 MB / 0.789 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.3444, allocations: 209.9 kB / 0.7892 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.97, allocations: 3.25 kB / 0.7892 GB, free: 6.961 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1)