Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.481/1.481, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 176.7 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000879/0.0008791, allocations: 90.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 9.469 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2261, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001425/0.2275, allocations: 1.033 MB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002622/0.2278, allocations: 94 kB / 0.9013 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.2279, allocations: 0 / 0.9013 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.2279, allocations: 3.938 kB / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.228, allocations: 3.984 kB / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.727e-05/0.228, allocations: 4 kB / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.2281, allocations: 7.984 kB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.899e-05/0.2282, allocations: 8 kB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.2283, allocations: 7.922 kB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.273e-05/0.2283, allocations: 15.92 kB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2283, allocations: 0 / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-06/0.2283, allocations: 0 / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-06/0.2283, allocations: 4 kB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.2284, allocations: 25.7 kB / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.049e-05/0.2284, allocations: 11.97 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.2284, allocations: 0 / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2284, allocations: 4 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2284, allocations: 0 / 0.9014 GB, free: 62.59 MB / 0.6042 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.0003507/0.2288, allocations: 323.4 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.2289, allocations: 12.03 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.2289, allocations: 34.55 kB / 0.9017 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.2289, allocations: 0 / 0.9017 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.59e-05/0.229, allocations: 163 kB / 0.9019 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.229, allocations: 4 kB / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.2291, allocations: 3.938 kB / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.2293, allocations: 57.61 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2293, allocations: 0 / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.2293, allocations: 0 / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2293, allocations: 0 / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.2295, allocations: 43.97 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.2296, allocations: 153.7 kB / 0.9021 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.2297, allocations: 34.56 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.2297, allocations: 0 / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.2298, allocations: 38.56 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2298, allocations: 4 kB / 0.9022 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003483/0.2301, allocations: 93.64 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.2302, allocations: 51.41 kB / 0.9023 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.2303, allocations: 101.8 kB / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.2303, allocations: 25.7 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.2303, allocations: 88.14 kB / 0.9025 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.2303, allocations: 288 / 0.9025 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.2303, allocations: 0 / 0.9025 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.2304, allocations: 310.8 kB / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.2305, allocations: 20.02 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.2306, allocations: 31.91 kB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.331e-05/0.2306, allocations: 24 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2306, allocations: 0 / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000168/0.2308, allocations: 65.67 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2308, allocations: 8 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2309, allocations: 3.984 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2309, allocations: 7.969 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.231, allocations: 12 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.231, allocations: 0 / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.231, allocations: 11.92 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.231, allocations: 0 / 0.903 GB, free: 60.67 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.2311, allocations: 113.8 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.2311, allocations: 3.906 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.2311, allocations: 11.12 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2311, allocations: 192 / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2312, allocations: 4 kB / 0.9031 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.2312, allocations: 7.922 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.4e-05/0.2312, allocations: 149.7 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2312, allocations: 3.953 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.2313, allocations: 11.94 kB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2313, allocations: 0 / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.2313, allocations: 0 / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.2313, allocations: 11.98 kB / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2313, allocations: 0 / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.2315, allocations: 89.11 kB / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.2316, allocations: 85.09 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.2316, allocations: 7.984 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.2316, allocations: 4 kB / 0.9035 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.2317, allocations: 0 / 0.9035 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.2317, allocations: 7.984 kB / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.282e-05/0.2317, allocations: 79.28 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2317, allocations: 0 / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000166/0.2319, allocations: 4 kB / 0.9036 GB, free: 59.99 MB / 0.6042 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 (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.0003814/0.2323, allocations: 0.6358 MB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.2325, allocations: 39.97 kB / 0.9043 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2325, allocations: 0 / 0.9043 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/0.2326, allocations: 28.03 kB / 0.9043 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.2328, allocations: 8 kB / 0.9043 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.2331, allocations: 122.3 kB / 0.9044 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.2333, allocations: 0.677 MB / 0.9051 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.2334, allocations: 0 / 0.9051 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.2334, allocations: 19.36 kB / 0.9051 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2334, allocations: 4.062 kB / 0.9051 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.2462, allocations: 0.9537 MB / 0.906 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.2465, allocations: 209.9 kB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/1.694, allocations: 0 / 0.9062 GB, free: 57.34 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1)